From 35dd2af7ae8628f2e1c65bdb3d9e2cdb2e315a92 Mon Sep 17 00:00:00 2001 From: deepeshgarg007 Date: Mon, 15 Apr 2019 15:46:48 +0530 Subject: [PATCH] fix: Report name passing fix --- frappe/public/js/frappe/views/reports/query_report.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frappe/public/js/frappe/views/reports/query_report.js b/frappe/public/js/frappe/views/reports/query_report.js index e6204190ef..9b91b2a2b5 100644 --- a/frappe/public/js/frappe/views/reports/query_report.js +++ b/frappe/public/js/frappe/views/reports/query_report.js @@ -120,7 +120,6 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList { this.menu_items = this.get_menu_items(); this.datatable = null; this.prepared_report_action = "New"; - this.custom_report = null; frappe.run_serially([ @@ -305,7 +304,7 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList { method: 'frappe.desk.query_report.run', type: 'GET', args: { - report_name: this.custom_report || this.report_name, + report_name: this.report_name, filters: filters, }, callback: resolve,