Skip to content

Commit

Permalink
Fix for allowing the title to be sent through to the facet list
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Nov 27, 2012
1 parent e51e914 commit 69bd94d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ckan/templates/snippets/facet_list.html
Expand Up @@ -28,7 +28,11 @@
#}
{% with items = items or h.get_facet_items_dict(name) %}
<section class="module module-narrow module-shallow">
<h2 class="module-heading"><i class="icon-medium icon-filter"></i> {{ h.get_facet_title(name) }} <a href="{{ h.remove_url_param(name, extras=extras) }}" class="action">{{ _('Clear All') }}</a></h2>
<h2 class="module-heading">
<i class="icon-medium icon-filter"></i>
{{ title or h.get_facet_title(name) }}
<a href="{{ h.remove_url_param(name, extras=extras) }}" class="action">{{ _('Clear All') }}</a>
</h2>
{% if items %}
<nav>
<ul class="unstyled nav nav-simple nav-facet">
Expand Down

0 comments on commit 69bd94d

Please sign in to comment.