fix: Solve the problem that the filter conditions are regarded as the same when the filter values are equivalent arrays in the filter
This commit is contained in:
parent
854cebd5b1
commit
3ee00cf1e4
1 changed files with 1 additions and 4 deletions
|
|
@ -265,10 +265,7 @@ frappe.ui.FilterGroup = class {
|
|||
let value = filter_value[3];
|
||||
let equal = frappe.utils.arrays_equal;
|
||||
|
||||
if (
|
||||
equal(f_value.slice(0, 4), filter_value.slice(0, 4)) ||
|
||||
(Array.isArray(value) && equal(value, f_value[3]))
|
||||
) {
|
||||
if (equal(f_value.slice(0, 4), filter_value.slice(0, 4))) {
|
||||
exists = true;
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue