Bug 16735: Migrate library search groups into the new hierarchical groups
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 22 Jun 2016 17:10:23 +0000 (17:10 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Feb 2018 18:41:25 +0000 (15:41 -0300)
commit2059f7d8016ab61172830e9b670279d3e28882b7
treed9679e8f3a005c7bd387b01095175715b9806664
parentd3d4820209ca8a35cf5fcce9595a8d7700ca9da9
Bug 16735: Migrate library search groups into the new hierarchical groups

Test Plan:
1) Apply this patch set
2) Note your existing search groups have been ported over to the new
   __SEARCH_GROUPS__ group if you had any
3) Create the group __SEARCH_GROUPS__ if one does not already exist
4) Add some first level subgroups to this group, add libraries to those groups
5) Search the library group searching in the intranet and opac
6) Note you get the same results as pre-patch

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
16 files changed:
C4/Auth.pm
Koha/Library.pm
Koha/Library/Group.pm
Koha/Library/Groups.pm
admin/branches.pl
catalogue/search.pl
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt
koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt
opac/opac-search.pl
t/db_dependent/Koha/Libraries.t
t/db_dependent/RotatingCollections.t