Template/default/viewSearch : Not display predefinedFilters when no filter is defined.

This commit is contained in:
Benjamin Renard 2010-02-19 14:50:07 +01:00
parent f7d45c390f
commit 0b3c9d2f5e

View file

@ -28,7 +28,7 @@
</ul>
{/if}
{if ! empty($LSsearch)}
{if count($LSsearch->predefinedFilters) != 0}
<select id='LSview_search_predefinedFilter' name='predefinedFilter'>
<option value=''>--</option>
{html_options options=$LSsearch->predefinedFilters selected=$searchForm.predefinedFilter}