fix: using 'Equals' and 'Is' on multiselect throws error
This commit is contained in:
parent
a96aadc10b
commit
6b2bcd5b07
1 changed files with 2 additions and 0 deletions
|
|
@ -679,6 +679,7 @@ def get_filters_cond(
|
|||
if isinstance(f[1], str) and f[1][0] == "!":
|
||||
flt.append([doctype, f[0], "!=", f[1][1:]])
|
||||
elif isinstance(f[1], (list, tuple)) and f[1][0].lower() in (
|
||||
"=",
|
||||
">",
|
||||
"<",
|
||||
">=",
|
||||
|
|
@ -689,6 +690,7 @@ def get_filters_cond(
|
|||
"in",
|
||||
"not in",
|
||||
"between",
|
||||
"is",
|
||||
):
|
||||
|
||||
flt.append([doctype, f[0], f[1][0], f[1][1]])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue