fix: translate total word
This commit is contained in:
parent
299d7bfccb
commit
c17311fbb0
1 changed files with 1 additions and 2 deletions
|
|
@ -554,7 +554,6 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
|
|||
// filter values have not changed
|
||||
return;
|
||||
}
|
||||
|
||||
// clear previous_filters after 10 seconds, to allow refresh for new data
|
||||
this.previous_filters = current_filters;
|
||||
setTimeout(() => (this.previous_filters = null), 10000);
|
||||
|
|
@ -1249,7 +1248,7 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
|
|||
}
|
||||
|
||||
if (column.colIndex === index && !value) {
|
||||
value = "Total";
|
||||
value = __("Total");
|
||||
column = { fieldtype: "Data" }; // avoid type issues for value if Date column
|
||||
} else if (["Currency", "Float"].includes(column.fieldtype)) {
|
||||
// proxy for currency and float
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue