Bug 5917 - catching template changes from bug 5390

This commit is contained in:
Chris Cormack 2011-03-22 15:09:10 +13:00
parent dbf6bd4be0
commit e8c983cda0
2 changed files with 10 additions and 9 deletions

View file

@ -84,14 +84,15 @@
[% END %]
</select>
[% ELSE %]
[% UNLESS ( opac_limit_override ) %]
[% IF ( opac_limit_override ) %]
[% IF ( opac_search_limit ) %]
<input name="limit" value="[% opac_search_limit %]" type="hidden" />
[% END %]
[% ELSE %]
[% IF ( mylibraryfirst ) %]
<input name="limit" value="branch:[% mylibraryfirst %]" type="hidden" />
[% END %]
[% END %]
[% END %]
[% IF ( opac_search_limit ) %]
<input name="limit" value="[% opac_search_limit %]" type="hidden" />
[% END %]
[% END %]

View file

@ -239,11 +239,11 @@
<select name="limit" id="branchloop">
<option value="">All libraries</option>
[% FOREACH branchloo IN branchloop %]
[% IF ( branchloo.selected ) %]
<option value="branch:[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option>
[% FOREACH BranchesLoo IN BranchesLoop %]
[% IF ( BranchesLoo.selected ) %]
<option value="branch:[% BranchesLoo.value %]" selected="selected">[% BranchesLoo.branchname %]</option>
[% ELSE %]
<option value="branch:[% branchloo.value %]">[% branchloo.branchname %]</option>
<option value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option>
[% END %]
[% END %]
</select>