Browse Source

Bug 28975: (QA follow-up) Fix indentation, simplify if statement

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
23.05.x
Kyle Hall 2 years ago
committed by Tomas Cohen Arazi
parent
commit
72c10b2227
Signed by: tomascohen GPG Key ID: 0A272EA1B2F3C15F
  1. 6
      koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt

6
koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt

@ -259,9 +259,9 @@
<li>
<label for="branchlimit">Library: </label>
<select name="branchlimit" id="branchlimit">
[% IF !Koha.Preference('IndependentBranches') || (Koha.Preference('IndependentBranches') && CAN_user_superlibrarian) %]
<option value="">All</option>
[% END %]
[% IF CAN_user_superlibrarian || !Koha.Preference('IndependentBranches') %]
<option value="">All</option>
[% END %]
[% PROCESS options_for_libraries libraries => Branches.all( selected => branchlimit, only_from_group => 1 ) %]
</select>
</li>

Loading…
Cancel
Save