fix(filter): fix formatting
This commit is contained in:
parent
c18cdfa732
commit
71512a7ba2
1 changed files with 3 additions and 1 deletions
|
|
@ -203,7 +203,9 @@ frappe.ui.Filter = class {
|
|||
this._filter_value_set = Promise.resolve();
|
||||
|
||||
if (["in", "not in"].includes(condition) && Array.isArray(value)) {
|
||||
value = value.some((v) => String(v).includes(",")) ? JSON.stringify(value) : value.join(",");
|
||||
value = value.some((v) => String(v).includes(","))
|
||||
? JSON.stringify(value)
|
||||
: value.join(",");
|
||||
}
|
||||
|
||||
if (Array.isArray(value)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue