Fix label for filter_select inputs

This commit is contained in:
Lars Henrik Mai 2016-02-18 09:06:06 +01:00
parent 4e2c37f67f
commit 463d01f44f

View file

@ -13,7 +13,7 @@ module SearchHelper
def filter_select(builder, name, desc, facets, selected) def filter_select(builder, name, desc, facets, selected)
capture do capture do
concat(label name, desc) concat(builder.label name, desc)
concat( concat(
builder.select name, builder.select name,
options_from_collection_for_select(facets, :term, :term_with_count, selected), options_from_collection_for_select(facets, :term, :term_with_count, selected),