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>
(cherry picked from commit 72c10b2227)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
This commit is contained in:
Kyle Hall 2022-12-02 09:18:08 -05:00 committed by Matt Blenkinsop
parent 6d2756b7d7
commit 91830a27e2
1 changed files with 3 additions and 3 deletions

View File

@ -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>