diff --git a/app/controllers/concerns/facetable.rb b/app/controllers/concerns/facetable.rb index bbb7325b3..0c661ebcb 100644 --- a/app/controllers/concerns/facetable.rb +++ b/app/controllers/concerns/facetable.rb @@ -33,7 +33,7 @@ def facet_by_cumuative_year(arr) def facet_by_key(arr) arr.map do |hsh| { "id" => hsh["key"], - "title" => hsh["key"].humanize, + "title" => hsh["key"].titleize, "count" => hsh["doc_count"] } end end