LP#1815815: Simplify basic search UI
authorMike Rylander <mrylander@gmail.com>
Thu, 6 Aug 2020 20:43:25 +0000 (16:43 -0400)
committerTerran McCanna <tmccanna@georgialibraries.org>
Thu, 11 Mar 2021 17:36:12 +0000 (12:36 -0500)
commit1fa2cd862f9ba2c253a22f55594b9d7b8e253841
treeab71ca0ffc298707097d7c6bdd65e5f669ac46ba
parent979636fc20d1d37aaab1c3fb43d841f1c0a1e4a8
LP#1815815: Simplify basic search UI

This commit adds logic to the org selector (and backing context building
logic) to allow the library dropdown to render Library Groups in a way
mechanically similar to location groups.  This is used in the basic
search interface to simplify the Library Group feature.

The advanced search interface still uses separate Library and Where
dropdowns, as this allows advance search to retain the depth selection
capability, and more directly shows the (real) relationship between a
library and the location groups, library groups, and depths that are
relevant to it.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
Open-ILS/src/templates/opac/parts/advanced/search.tt2
Open-ILS/src/templates/opac/parts/org_selector.tt2
Open-ILS/src/templates/opac/parts/searchbar.tt2