Skip to content

Commit

Permalink
Merge pull request #1609 from ckan/1609-facets-not-showing
Browse files Browse the repository at this point in the history
[#1609] Fix Regression on facets
  • Loading branch information
nigelbabu committed Mar 21, 2014
2 parents e78413e + 0189239 commit aebc52c
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 aebc52c

Please sign in to comment.