{% ckan_extends %}

{% block secondary_content %}
<div class="filters">
  <div>
    {% for facet in c.facet_titles %}
      {% if facet == 'question' %}
        {{ h.snippet('snippets/alt_facet_list.html', title=c.facet_titles[facet], items=h.get_facet_items_dict_questions(facet), name=facet) }}
      {% else %}
        {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], name=facet) }}
      {% endif %}
    {% endfor %}
  </div>
  <a class="close no-text hide-filters"><i class="fa fa-times-circle"></i><span class="text">close</span></a>
</div>
{% endblock %}

{% ckan_extends %}

{% block secondary_content %}
<div class="filters">
  <div>
    {% for facet in c.facet_titles %}
      {% if facet == 'question' %}
        {{ h.snippet('snippets/alt_facet_list.html', title=c.facet_titles[facet], items=h.get_facet_items_dict_questions(facet), name=facet, hide_empty=True) }}
      {% else %}
        {{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], name=facet, hide_empty=True) }}
      {% endif %}
    {% endfor %}
  </div>
  <a class="close no-text hide-filters"><i class="fa fa-times-circle"></i><span class="text">close</span></a>
</div>
{% endblock %}

Hide empty facets, because there are so many that are silly for EITI
Hide empty facets, because there are so many that are silly for EITI
