mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
fix facets attribute access
This commit is contained in:
parent
4aa0b2424b
commit
2caec3d721
2 changed files with 13 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue