Merge pull request #22485 from frappe/SaiFi0102-patch-3
This commit is contained in:
commit
dfed8f353e
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue