]> git.koha-community.org Git - koha.git/commit
Bug 19389: Hide library groups pull down if empty
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 2 Oct 2017 17:30:14 +0000 (14:30 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Oct 2017 17:09:01 +0000 (14:09 -0300)
commit99e487bc7162cee4bb9a8916637f4e1ddd7ccc00
tree7d7852d082a2853b390a9a06572a57afc6d8b179
parentbdf85f5e39edeb1e2e85629044f1df25f56484f5
Bug 19389: Hide library groups pull down if empty

Regression introduced by bug
  commit 141200794da9f27e0231e1c2dad4bcb994d650f3
    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>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt