Bug 18083: Simplify the condition - if there are more than 1 library

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2018-01-19 15:42:54 -03:00
parent 3dfb27605c
commit 231817c40f

View file

@ -17,7 +17,7 @@
[% IF ( limit == 100 ) %]<option value ="100" selected="selected">100 titles</option>[% ELSE %]<option value="100">100 titles</option>[% END %]
</select></li>
[% UNLESS Branches.all.size == 1 %]
[% IF Branches.all.size > 1 %]
<li><label for="branch">From: </label>
<select name="branch" id="branch">
<option value="">All libraries</option>