LP#1922273: use a setting to determine which advanced search filters are displayed...
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Mon, 3 May 2021 22:21:02 +0000 (15:21 -0700)
committerGalen Charlton <gmc@equinoxOLI.org>
Mon, 20 Sep 2021 15:56:58 +0000 (11:56 -0400)
commite3e64785234b7c0fac8903989e1a140c5e86297b
tree34013dd8ffc1f521008d9b458c459bc810b487eb
parentf7356f1403b799519539c05d2c37f7f43378b794
LP#1922273: use a setting to determine which advanced search filters are displayed in staff catalog

The TPAC allows admins to customize which search filters are available
in advanced search.  This commit adds an org unit setting,
eg.staffcat.search_filters, which lets you customize search filters in
the staff catalog.  The setting value should be an array of filter
types, e.g. ["item_lang","audience","lit_form"].  The standard set of
search filters is used when the settings are not set.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/catalog/catalog.service.ts
Open-ILS/src/eg2/src/app/staff/catalog/resolver.service.ts
Open-ILS/src/eg2/src/app/staff/catalog/search-form.component.html
Open-ILS/src/eg2/src/app/staff/catalog/search-form.component.ts
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.staffcat-search-filters.sql [new file with mode: 0644]