diff --git a/frappe/public/js/frappe/views/reports/query_report.js b/frappe/public/js/frappe/views/reports/query_report.js index d76063d13d..48029865f4 100644 --- a/frappe/public/js/frappe/views/reports/query_report.js +++ b/frappe/public/js/frappe/views/reports/query_report.js @@ -163,7 +163,7 @@ frappe.views.QueryReport = Class.extend({ if(this.html_format) { var content = frappe.render(this.html_format, - {data: this.dataView.getItems(), filters:this.get_values(), report:this}); + {data: frappe.slickgrid_tools.get_filtered_items(this.dataView), filters:this.get_values(), report:this}); frappe.render_grid({content:content, title:__(this.report_name)}); } else {