       {% endif %}
            </strong>
			{% if facets.fields|get_count:facet > 4 %}
			<small>({% if facets.fields|get_count:facet == 100 %}Truncated to {% endif %}{{ facets.fields|get_count:facet }})</small>
			{% endif %}
        </div>
    </div>
    {% endwith %}
    </div>
	<div class="card-body">
	{% for item in facets.fields|get_item:facet|dictsort:0 %}
		{% with facet_item=facet|add:":"|add:item.0 %}

		<!-- hide items if there are more than 4 -->
		{% if forloop.counter <= 4 or facet_item in sel