Skip to content

Commit

Permalink
fix filters conditions syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Jul 11, 2024
1 parent a4f680a commit 00e8d21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/3.0/dynamic-filters.md
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ field :first_name,
as: :text,
filterable: {
# ...
conditions: -> {
conditions: {
case_sensitive: "Case sensitive",
not_case_sensitive: "Not case sensitive"
}.invert
Expand All @@ -426,7 +426,7 @@ field :first_name,

# Using dynamic_filter method
dynamic_filter :first_name,
conditions: -> {
conditions: {
case_sensitive: "Case sensitive",
not_case_sensitive: "Not case sensitive"
}.invert
Expand Down

0 comments on commit 00e8d21

Please sign in to comment.