Skip to content

Commit

Permalink
hide empty facets on harvest source search page
Browse files Browse the repository at this point in the history
  • Loading branch information
fostermh committed Oct 25, 2023
1 parent 4a04394 commit 6a813f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/harvest/templates/source/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@

{% block secondary_content %}
{% for facet in c.facet_titles %}
{{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], name=facet, alternative_url=h.url_for('{0}_search'.format(c.dataset_type))) }}
{{ h.snippet('snippets/facet_list.html', title=c.facet_titles[facet], name=facet, hide_empty="true", alternative_url=h.url_for('{0}_search'.format(c.dataset_type))) }}
{% endfor %}
{% endblock %}

0 comments on commit 6a813f2

Please sign in to comment.