fix facets attribute access

This commit is contained in:
Lars Henrik Mai 2015-06-22 21:11:51 +02:00 committed by Andreas Haller
parent 4aa0b2424b
commit 2caec3d721
2 changed files with 13 additions and 3 deletions

View file

@ -4,7 +4,7 @@ module SearchHelper
content_tag(:ul) do
facets.each do |facet|
concat content_tag(:li,
"#{facet['key']} (#{facet['doc_count']})",
"#{facet.term} (#{facet.count})",
class: "facet"
)
end