[Koha-bugs] [Bug 22173] New: Search Groups broken by change in expected structure
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 18 19:17:33 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22173
Bug ID: 22173
Summary: Search Groups broken by change in expected structure
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Templates
Assignee: oleonard at myacpl.org
Reporter: kyle at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
Target Milestone: ---
The original logic of Search Groups using the heirarchical library groups was
to enable search groups on a root group and have each sub group be a search
group listed in the pulldown:
RootGroup:
SearchGroup1:
LibraryA
LibraryB
SearchGroup2:
LibraryC
LibraryD
SearchGroup3:
LibraryE
LibraryF
At some point, the code was changed to expect the each search group to be the
root group:
RootSearchGroup1:
LibraryA
LibraryB
RootSearchGroup2:
LibraryC
LibraryD
RootSearchGroup3:
LibraryE
LibraryF
It's likely that both styles are being used in production now with different
versions. If a library upgrades, their search groups will be broken. If we
revert the change, currently up to date libraries will have search groups
broken.
Instead, we should accommodate both configurations.
So, if a root group has libraries as direct children, it should be displayed as
a search group. If it does not, we should display the child search groups
instead.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list