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 1557d68 commit 6c57a26
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 @@ -687,6 +687,7 @@ def get_filters_cond(
if isinstance(f[1], string_types) 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 @@ -697,6 +698,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 6c57a26

Please sign in to comment.