refactor: allow hiding of columns in query report
This commit is contained in:
parent
5fe4bc45c5
commit
92ffbfb067
1 changed files with 1 additions and 1 deletions
|
|
@ -457,7 +457,7 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
|
|||
this.datatable.refresh(data, this.columns);
|
||||
} else {
|
||||
let datatable_options = {
|
||||
columns: this.columns,
|
||||
columns: this.columns.filter((col) => !col.hidden),
|
||||
data: data,
|
||||
inlineFilters: true,
|
||||
treeView: this.tree_report,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue