Skip to content

Commit

Permalink
Merge pull request #699 from coyote-team/681-description-filter-compo…
Browse files Browse the repository at this point in the history
…nent-does-not-correctly-apply-chosen-filters

Description filter component does not correctly apply chosen filters fix
  • Loading branch information
jacobyarborough authored Feb 4, 2024
2 parents a7d8efb + e6549cb commit 24000f4
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 24000f4

Please sign in to comment.