LP#1815815: Simplify basic search UI user/miker/lp-1815815-library_groups-simplified_basic-rebased
authorMike Rylander <mrylander@gmail.com>
Thu, 6 Aug 2020 20:43:25 +0000 (16:43 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 10 Aug 2020 15:59:04 +0000 (11:59 -0400)
commit42372b872e2dd4a7fc72886efa9de666b1e07fb9
treeae7aa56998a856d3d01e3c6ba2fdd3c5b70ea61a
parentd114482b27e8ba9c360e6634d172cb782daa53c7
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>
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