Merge pull request #22485 from frappe/SaiFi0102-patch-3

This commit is contained in:
Suraj Shetty 2023-10-11 13:49:20 +05:30 committed by GitHub
commit dfed8f353e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -313,7 +313,9 @@ frappe.views.BaseList = class BaseList {
this.filter_area = new FilterArea(this);
if (this.filters && this.filters.length > 0) {
return this.filter_area.set(this.filters);
return this.filter_area.set(this.filters).catch(() => {
this.filter_area.clear(false);
});
}
}