LP1837478 Angular Catatalog Recent Searches & Templates
authorBill Erickson <berickxx@gmail.com>
Mon, 22 Jul 2019 21:50:01 +0000 (17:50 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 25 Jul 2019 15:47:24 +0000 (11:47 -0400)
commit0229b6f7aa7c5e220c588b8c087a7485d3d310ca
treef1ad9721deb2bbf77167e298bcad2b177e18f287
parent96e819bd9c3d6d53d1f4321f250eab69a4c080a4
LP1837478 Angular Catatalog Recent Searches & Templates

Adds two new dropdowns (below basket actions) for recent searches
(similar to those found in the staff TPAC) and search templates.

Search templates are a new feature which allow staff to save canned
search filters/settings without the query content, so common searches
may be easily recalled.

For UI consistency and to preserve some space, the Basket Actions selector
is now a dropdown instead of a select element.

Adds a new workstation setting 'eg.catalog.search_templates' for storing
templates.

Includes a number of improvements to the underlying Catalog code and a
new ArrayUtil class, which adds a simple equals() function for comparing
arrays.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
16 files changed:
Open-ILS/src/eg2/src/app/share/catalog/catalog-url.service.ts
Open-ILS/src/eg2/src/app/share/catalog/catalog.service.ts
Open-ILS/src/eg2/src/app/share/catalog/search-context.ts
Open-ILS/src/eg2/src/app/share/util/array.spec.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/share/util/array.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/catalog/basket-actions.component.html
Open-ILS/src/eg2/src/app/staff/catalog/basket-actions.component.ts
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/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/eg2/src/app/staff/catalog/search-templates.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/catalog/search-templates.component.ts [new file with mode: 0644]
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.search-templates.sql [new file with mode: 0644]