fix: use correct property name for filters in get_report_filters (#21465)

This commit is contained in:
Sayed Ayman 2023-06-22 23:26:52 +03:00 committed by GitHub
parent e5dfb6d971
commit 4ad98ecb7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,7 +128,7 @@ frappe.report_utils = {
return frappe.after_ajax(() => {
if (
frappe.query_reports[report_name] &&
!frappe.query_reports[report_name].filter &&
!frappe.query_reports[report_name].filters &&
r.filters
) {
return (frappe.query_reports[report_name].filters = r.filters);