{%- for key, facets in search_facets.items() -%} {%- call ui.util.call(ui.facet_section, title=facet_titles.get(key, key)) -%} {% set items = h.get_facet_items_dict(key, search_facets) %} {%- call ui.util.call(ui.facet_list) -%} {%- for item in items -%} {{ ui.facet(item.display_name, key=key, value=item.name, count=item.count, active=item.active) }} {%- endfor %} {%- endcall %} {%- endcall %} {%- endfor %}