Koha/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc
David Cook 48be40d1bf Bug 18884: Advanced search on staff client, Availability limit not properly limiting
Patch applies and functions as described.

Signed-off-by: Dilan Johnpullé <dilan@calyx.net.au>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-10-27 13:57:10 -03:00

19 lines
736 B
HTML

[% BLOCK options_for_libraries %]
[% FOREACH l IN libraries %]
[% IF l.selected %]
<option value="[% prefix %][% l.branchcode | html %]" selected="selected">[% l.branchname %]</option>
[% ELSE %]
<option value="[% prefix %][% l.branchcode | html %]">[% l.branchname |html %]</option>
[% END%]
[% END %]
[% END %]
[% BLOCK options_for_authorised_value_categories %]
[% FOREACH avc IN authorised_value_categories %]
[% IF avc.selected %]
<option value="[% avc.category %]" selected="selected">[% avc.category %]</option>
[% ELSE %]
<option value="[% avc.category %]">[% avc.category %]</option>
[% END %]
[% END %]
[% END %]