Lines 85-102
Link Here
|
85 |
|
85 |
|
86 |
<p> |
86 |
<p> |
87 |
<label for="branchcode">Library: </label> |
87 |
<label for="branchcode">Library: </label> |
88 |
[% SET branches = Branches.all( selected => branchcode_filter, only_my_group => 1 ) %] |
88 |
[% SET branches = Branches.all( selected => branchcode_filter, only_from_group => 1 ) %] |
89 |
<select name="branchcode_filter" id="branchcode"> |
89 |
<select name="branchcode_filter" id="branchcode"> |
90 |
[% IF branches.size != 1 %] |
90 |
[% IF branches.size != 1 %] |
91 |
<option value="">Any</option> |
91 |
<option value="">Any</option> |
92 |
[% END %] |
92 |
[% END %] |
93 |
[% FOREACH b IN branches %] |
93 |
[% PROCESS options_for_libraries libraries => branches %] |
94 |
[% IF b.selected %] |
|
|
95 |
<option value="[% b.branchcode | html %]" selected="selected">[% b.branchname | html %]</option> |
96 |
[% ELSE %] |
97 |
<option value="[% b.branchcode | html %]">[% b.branchname | html %]</option> |
98 |
[% END %] |
99 |
[% END %] |
100 |
</select> |
94 |
</select> |
101 |
</p> |
95 |
</p> |
102 |
|
96 |
|
103 |
- |
|
|