Skip to content

Commit

Permalink
[#1609] extra blocks broke facets, add another with block to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly committed Mar 20, 2014
1 parent edb771e commit 0189239
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckan/templates/snippets/facet_list.html
Expand Up @@ -56,6 +56,7 @@ <h2 class="module-heading">
</h2>
{% endblock %}
{% block facet_list_items %}
{% with items = items or h.get_facet_items_dict(name) %}
{% if items %}
<nav>
<ul class="{{ nav_class or 'unstyled nav nav-simple nav-facet' }}">
Expand All @@ -82,6 +83,7 @@ <h2 class="module-heading">
{% else %}
<p class="module-content empty">{{ _('There are no {facet_type} that match this search').format(facet_type=title) }}</p>
{% endif %}
{% endwith %}
{% endblock %}
</section>
{% endblock %}
Expand Down

0 comments on commit 0189239

Please sign in to comment.