diff --git a/frappe/public/js/frappe/views/reports/query_report.js b/frappe/public/js/frappe/views/reports/query_report.js index 5d3d982b21..3162cd5db1 100644 --- a/frappe/public/js/frappe/views/reports/query_report.js +++ b/frappe/public/js/frappe/views/reports/query_report.js @@ -325,7 +325,6 @@ frappe.views.QueryReport = Class.extend({ } else { me.trigger_refresh(); } - f.set_mandatory && f.set_mandatory(f.$input.val()); } df.ignore_link_validation = true; } @@ -351,7 +350,7 @@ frappe.views.QueryReport = Class.extend({ if(frappe.route_options) { $.each(this.filters || [], function(i, f) { if(frappe.route_options[f.df.fieldname]!=null) { - f.set_input(frappe.route_options[f.df.fieldname]); + f.set_value(frappe.route_options[f.df.fieldname]); } }); }