Commit 21904f05 authored by akalam's avatar akalam Committed by Nick_vh

Issue #2980441 by akalam: Missing facets-widget-* class on twig template

parent 31eb0676
......@@ -24,9 +24,9 @@
* @ingroup themeable
*/
#}
<div class="facets-widget- {{- context.list_style -}} ">
{% if context.list_style %}
{%- set attributes = attributes.addClass('item-list__' ~ context.list_style) %}
<div class="facets-widget- {{- facet.widget.type -}} ">
{% if facet.widget.type %}
{%- set attributes = attributes.addClass('item-list__' ~ facet.widget.type) %}
{% endif %}
{% if items or empty %}
{%- if title is not empty -%}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment