mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
display count of facets in filter selects
This commit is contained in:
parent
d27f78afba
commit
df8c525159
2 changed files with 10 additions and 4 deletions
|
@ -16,7 +16,7 @@ module SearchHelper
|
|||
concat(label name, desc)
|
||||
concat(
|
||||
select_tag name,
|
||||
options_from_collection_for_select(facets, :term, :term, selected),
|
||||
options_from_collection_for_select(facets, :term, :term_with_count, selected),
|
||||
include_blank: true,
|
||||
onchange: "this.form.submit();"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue