LP#1927527 Catalog: Root OU shelving locations do not display user/dbriem/lp1927527_display_top_level_shelving_locations
authorDan Briem <dbriem@wlsmail.org>
Tue, 11 May 2021 00:08:42 +0000 (20:08 -0400)
committerDan Briem <dbriem@wlsmail.org>
Tue, 11 May 2021 00:08:42 +0000 (20:08 -0400)
commit09f6c41478b7ed4f654271dcdc4f7ce14ea0907e
tree8f4b2c2fbc0ddfd2fec4f4f6e9e6e7731cdf53fc
parent9eae8a68f3012f2016dfe9c5ab3fc23e818307b3
LP#1927527 Catalog: Root OU shelving locations do not display

When the top level org unit is selected in the staff catalog you
only have the option to search all shelving locations.

This allows you to filter on the root org unit's shelving
locations, which is the same behavior as the OPAC.

To test:
1. Make sure the top level org unit has shelving locations
   (Local Administration->Shelving Locations Editor)
2. In the staff catalog, select the top level org unit
3. Click the three dot icon next to the query text input
4. The root org unit's shelving location options display

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Open-ILS/src/eg2/src/app/share/catalog/catalog.service.ts
Open-ILS/src/eg2/src/app/staff/catalog/search-form.component.ts