]> git.koha-community.org Git - koha.git/commit
Bug 20875: (bug 16735 follow-up) Fix library list for OpacAddMastheadLibraryPulldown
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 4 Jun 2018 14:23:35 +0000 (11:23 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 11 Jun 2018 08:57:26 +0000 (09:57 +0100)
commit86d608c43959f8b7311ea5f72c93f2262587a623
tree7f7b1f70805cc8702cdc7e5092999c0f26d8e372
parent6fe2a10156c900454cd8f342bedb24e6fd4e75f2
Bug 20875: (bug 16735 follow-up) Fix library list for OpacAddMastheadLibraryPulldown

This patch fixes a regression introduced by
  commit 2059f7d8016ab61172830e9b670279d3e28882b7
  Bug 16735: Migrate library search groups into the new hierarchical groups

It re-added code that was removed by bug 15758 (use of var BranchesLoop).

Test plan:
- Create library search groups
- Turn OpacAddMastheadLibraryPulldown on
- At the OPAC confirm that the search box with libraries and library
groups is displayed and works correctly.
- Remove the library search group
- The dropdown list should not have the optgroup tags

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc