Bug 10937: Fix Seach Type in Advanced Search

In order to see the checkboxes of the Collection and Shelving location of the advanced search, the if changed so that only the Itemtypes will go through the previous if
This commit is contained in:
Blou 2015-08-21 09:01:47 -04:00 committed by Tomas Cohen Arazi
parent 96b05f3535
commit 396275be35

View file

@ -133,7 +133,7 @@
<legend>Limit to any of the following:</legend>
<div class="row-fluid">
[% FOREACH itemtypeloo IN advsearchloo.code_loop %]
[% IF ((!itemtypeloo.searchcategory) AND (itemtypeloo.cat == 0)) OR (itemtypeloo.cat == 1) %]
[% IF (advsearchloo.advanced_search_type != 'itemtypes') OR (((!itemtypeloo.searchcategory) AND (itemtypeloo.cat == 0)) OR (itemtypeloo.cat == 1)) %]
<div class="span3">
<input type="checkbox"
id="[% itemtypeloo.ccl FILTER remove(',') %]-[% itemtypeloo.number %]"