Merge pull request #38469 from KerollesFathy/fix/not-in-filter-null-values
fix: remove null values from "not in" filter
This commit is contained in:
commit
525b7575b0
1 changed files with 4 additions and 1 deletions
|
|
@ -491,7 +491,10 @@ frappe.ui.filter_utils = {
|
|||
const parsed = JSON.parse(val);
|
||||
val = Array.isArray(parsed) ? parsed : [String(parsed)];
|
||||
} catch {
|
||||
val = val.split(",").map((v) => strip(v));
|
||||
val = val
|
||||
.split(",")
|
||||
.map((v) => strip(v))
|
||||
.filter((v) => v != null && v !== "");
|
||||
}
|
||||
}
|
||||
} else if (frappe.boot.additional_filters_config[condition]) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue