Skip to content

Commit

Permalink
Change filter_name_for method to include filter name and value for re…
Browse files Browse the repository at this point in the history
…move_filter_link tag
  • Loading branch information
jacobyarborough committed Feb 1, 2024
1 parent 34f446f commit e6549cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/filter_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def filter_name_for(filter, value)
# Explicit ActiveRecord scopes!
value.to_s.humanize
else
filter.to_s.humanize
"#{filter.to_s.humanize}: #{value.to_s.humanize}"
end

namespace = "#{record_filter.i18n_key}.#{filter}"
Expand Down

0 comments on commit e6549cb

Please sign in to comment.