LP1850938 Angular Catalog Preferences Page
authorBill Erickson <berickxx@gmail.com>
Thu, 31 Oct 2019 21:56:39 +0000 (17:56 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 30 Jan 2020 22:03:06 +0000 (17:03 -0500)
commit3d71091277f08b2f45cd181644f0daca006bda89
tree27ffb48840213fe9f47291542ba2403ef90ae2b5
parentcf5cf1de34846c6449f3c4fb40c2d0a908ec5bfc
LP1850938 Angular Catalog Preferences Page

Adds a new "Catalog Preferences" interface, accessible directly from the
catalog.  The UI houses the search preferences (default search lib,
preferred library, default search tab), a new staff-specific
hits-per-page setting.  Other preferences may be added later.

Adds support for selecting a default search tab using the existing
'eg.search.adv_pane' setting.

Reduce API call count by loading more of the catalog preference settings
in the main batch invoked by the page resolver.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/catalog/basket-actions.component.html
Open-ILS/src/eg2/src/app/staff/catalog/catalog.module.ts
Open-ILS/src/eg2/src/app/staff/catalog/catalog.service.ts
Open-ILS/src/eg2/src/app/staff/catalog/prefs.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/catalog/prefs.component.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/catalog/resolver.service.ts
Open-ILS/src/eg2/src/app/staff/catalog/routing.module.ts
Open-ILS/src/eg2/src/app/staff/catalog/search-form.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/search-templates.component.ts
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.catalog-prefs.sql [new file with mode: 0644]