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
  • Loading branch information
ruthra-kumar committed May 18, 2023
1 parent a96aadc commit 6b2bcd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frappe/desk/reportview.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
"=",
">",
"<",
">=",
Expand All @@ -689,6 +690,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 6b2bcd5

Please sign in to comment.