Skip to content

Commit

Permalink
fix: using 'Equals' and 'Is' on multiselect throws error
Browse files Browse the repository at this point in the history
(cherry picked from commit 6b2bcd5)
  • Loading branch information
ruthra-kumar authored and mergify[bot] committed May 18, 2023
1 parent 571c1b1 commit e5bd19d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frappe/desk/reportview.py
Expand Up @@ -701,6 +701,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 (
"=",
">",
"<",
">=",
Expand All @@ -711,6 +712,7 @@ def get_filters_cond(
"in",
"not in",
"between",
"is",
):

flt.append([doctype, f[0], f[1][0], f[1][1]])
Expand Down

0 comments on commit e5bd19d

Please sign in to comment.