Skip to content

Commit

Permalink
Coerce facet values to strings
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Feb 15, 2022
1 parent 31a3990 commit 3f1b053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/presenters/blacklight/facet_item_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def label
localization_options = facet_config.date == true ? {} : facet_config.date
I18n.l(Time.zone.parse(label_value), **localization_options)
else
label_value
label_value.to_s
end
end

Expand Down

0 comments on commit 3f1b053

Please sign in to comment.