Skip to content

Commit

Permalink
[1821] Removed superfluous check in facet_li()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Murray committed Apr 18, 2012
1 parent a9d67eb commit 4180a6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ckan/templates/facets.html
Expand Up @@ -67,8 +67,7 @@ <h2>${h.facet_title(title)}</h2>

<li py:if="if_empty and not h.new_facet_items(name, limit)">${if_empty}</li>

<li py:for="facet_item in h.new_facet_items(name, limit)"
py:if="not (name, facet_item.name) in c.fields">
<li py:for="facet_item in h.new_facet_items(name, limit)">
<a href="${c.drill_down_url(**{name: facet_item.name})}">
${label_function(facet_item)}
</a>
Expand Down

0 comments on commit 4180a6a

Please sign in to comment.