Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members/search.tmpl
Katrin Fischer f53f20bd6f Bug 5013: Advanced patron search category pull down broken
The pull down for category in patron's advanced search was only showing any and no patron categories.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-10-06 12:19:50 -04:00

21 lines
1.6 KiB
Cheetah

<form action="<!--TMPL_VAR Name="actionname"-->" method="get">
<fieldset class="brief">
<h4>Refine results</h4>
<input type="hidden" name="surname" value="<!-- TMPL_VAR name="surname"-->" />
<ol>
<li><label for="member">Name:</label> <input type="text" id="member" name="member" value="<!-- TMPL_VAR name="member"-->" /><!-- TMPL_IF NAME="subscriptionid" --><input type="hidden" name="subscriptionid" value="<!-- TMPL_VAR NAME="subscriptionid" -->"><!-- /TMPL_IF --></li>
<li><label for="branchcode"> Library: </label><select name="branchcode" id="branchcode">
<option value="">Any</option><!-- TMPL_LOOP name="branchloop" -->
<!-- TMPL_IF NAME="selected" -->
<option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="branchname" --></option><!-- TMPL_ELSE -->
<option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="branchname" --></option><!-- /TMPL_IF -->
<!-- /TMPL_LOOP --></select></li>
<li><label for="categorycode">Category: </label><select name="categorycode" id="categorycode">
<option value="">Any</option><!-- TMPL_LOOP name="categories" -->
<!-- TMPL_IF NAME="selected" -->
<option value="<!-- TMPL_VAR name="categorycode" -->" selected="selected"><!-- TMPL_VAR name="description" --></option><!-- TMPL_ELSE -->
<option value="<!-- TMPL_VAR name="categorycode" -->"><!-- TMPL_VAR name="description" --></option><!-- /TMPL_IF -->
<!-- /TMPL_LOOP --></select> </li>
<fieldset class="action"><input type="submit" value="Search" /></fieldset>
</fieldset>
</form>