Skip to content

Commit

Permalink
Update operations.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros authored Sep 30, 2024
1 parent 671775a commit 7d97d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/operations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class FinderWithEntity < Trailblazer::Finder

property :id, type: Types::Integer
property :name, type: Types::String, sortable: true
filter_by :escaped_name, with: :apply_escaped_name, type: :string
filter_by :escaped_name, with: :apply_escaped_name

def apply_escaped_name(entity, _attribute, value)
return if value.blank?
Expand Down

0 comments on commit 7d97d84

Please sign in to comment.