Skip to content

Commit

Permalink
Update filter.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
bluzky authored Nov 13, 2020
1 parent a35154a commit b016880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/filter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ defmodule Querie.Filter do
end

def filter(:le, {column, value}) do
dynamic([q], field(q, ^column) > ^value)
dynamic([q], field(q, ^column) <= ^value)
end

def filter(:ne, {column, value}) do
Expand Down

0 comments on commit b016880

Please sign in to comment.