diff --git a/ckan/templates/snippets/facet_list.html b/ckan/templates/snippets/facet_list.html index 9294c210afa..d7966d9f404 100644 --- a/ckan/templates/snippets/facet_list.html +++ b/ckan/templates/snippets/facet_list.html @@ -1,4 +1,4 @@ - +#} {% with items = h.get_facet_items_dict(name) %}
-

{{ c.facet_titles.get(name) }} Clear All

- - +

{{ c.facet_titles.get(name) }} Clear All

+ {% if items %} + + + {% endif %}
{% endwith %}