diff --git a/frappe/public/js/frappe/views/reports/query_report.js b/frappe/public/js/frappe/views/reports/query_report.js index 5c29acae83..7ad3138005 100644 --- a/frappe/public/js/frappe/views/reports/query_report.js +++ b/frappe/public/js/frappe/views/reports/query_report.js @@ -185,7 +185,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}); //Render Report in HTML var html = frappe.render_template("print_template",