Skip to content

Commit

Permalink
Facet counts are now displayed using delimiters (commas, generally)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hannan committed Apr 11, 2014
1 parent a1c18f3 commit d7909bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/blacklight/facets_helper_behavior.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def render_selected_facet_value(facet_solr_field, item)
# @return [String]
def render_facet_count(num, options = {})
classes = (options[:classes] || []) << "facet-count"
content_tag("span", t('blacklight.search.facets.count', :number => num), :class => classes)
content_tag("span", t('blacklight.search.facets.count', :number => number_with_delimiter(num)), :class => classes)
end

##
Expand Down

0 comments on commit d7909bd

Please sign in to comment.