feat: make report name translatable (#20608)
This commit is contained in:
parent
3a76a771a9
commit
cd670bf78f
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView {
|
|||
this.filters = this.report_doc.json.filters;
|
||||
this.order_by = this.report_doc.json.order_by;
|
||||
this.add_totals_row = this.report_doc.json.add_totals_row;
|
||||
this.page_title = this.report_name;
|
||||
this.page_title = __(this.report_name);
|
||||
this.page_length = this.report_doc.json.page_length || 20;
|
||||
this.order_by = this.report_doc.json.order_by || "modified desc";
|
||||
this.chart_args = this.report_doc.json.chart_args;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue