Bug 19389: Hide library groups pull down if empty
Regression introduced by bug
commit 141200794d
Bug 15295: Koha::Libraries - Remove GetBranchCategories
The intranet advanced search page offers to search for groups of
libraries, even if the pull down is empty as no library groups have
been defined.
Test plan:
- Go to the adv search page at the intranet
- Without library group you must not see the "Groups of libraries"
dropdown list
- With at least a library group you must see it
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
bdf85f5e39
commit
99e487bc71
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@
|
|||
[% PROCESS options_for_libraries prefix => "branch:" libraries => Branches.all( selected => selected_branchcode, unfiltered => 1 ) %]
|
||||
</select></p>
|
||||
<!-- <input type="hidden" name="limit" value="branch: MAIN" /> -->
|
||||
[% IF ( searchdomainloop ) %]
|
||||
[% IF searchdomainloop.count %]
|
||||
<p>OR</p> <!-- should addjs to grey out group pulldown if a library is selected. -->
|
||||
<p><label for="categoryloop">Groups of libraries: </label><select name="multibranchlimit" id="categoryloop">
|
||||
<option value=""> -- none -- </option>
|
||||
|
|
Loading…
Reference in a new issue