Skip to content

Commit

Permalink
Reverted half done range facets example in ezwebin: commented out rel…
Browse files Browse the repository at this point in the history
…evant section
  • Loading branch information
paulborgermans committed Apr 19, 2012
1 parent c30a04c commit bb3a38f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions design/ezwebin/templates/content/search.tpl
Expand Up @@ -262,18 +262,17 @@
{*$search_extras|attribute(show,2)*}
{* ranges *}
{* ranges example
<li><span><strong>{'Publication Year'|i18n( 'extension/ezfind/facets' )}</strong></span>
{def $publishedRanges = $search_extras.facet_ranges.meta_published_dt.counts}
<ul>
{* TODO add filters (when range filtering is fixed *}
{foreach $publishedRanges as $year => $count}
<li>{$year|extract_left(4)} ({$count})</li>
{/foreach}
</ul>
</li>
*}
{* date filtering here. Using a simple filter for now. Should use the date facets later on *}
{if eq( $dateFilter, 0 )}
Expand Down

0 comments on commit bb3a38f

Please sign in to comment.