Skip to content

Commit

Permalink
fix: use correct boolean operation names in Filter.find/4 (#1214)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbino authored May 30, 2024
1 parent fbcafa1 commit d71718c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ash/filter/filter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -655,10 +655,10 @@ defmodule Ash.Filter do

%BooleanExpression{op: op, left: left, right: right} ->
cond do
op == :ors && !ors? ->
op == :or && !ors? ->
nil

op == :ands && !ands? ->
op == :and && !ands? ->
nil

true ->
Expand Down

0 comments on commit d71718c

Please sign in to comment.