fix(filter): remove empty values from value

This commit is contained in:
KerollesFathy 2026-04-07 14:50:57 +00:00
parent 2cb6c5edcc
commit 00cffe2881

View file

@ -493,6 +493,7 @@ frappe.ui.filter_utils = {
} catch {
val = val.split(",").map((v) => strip(v));
}
val = val.filter((v) => v != null && v !== ""); // remove empty values
}
} else if (frappe.boot.additional_filters_config[condition]) {
val = field.value || val;