LP1837478 Angular Catatalog Recent Searches & Templates
authorBill Erickson <berickxx@gmail.com>
Mon, 22 Jul 2019 21:50:01 +0000 (17:50 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 30 Jul 2019 12:09:58 +0000 (08:09 -0400)
commitfc7a3984db4c6974ce3f242e90ecbe73afabab84
treee220491ad4fec7ab03fbc174d278ea0bc89686ef
parent59136d13f11c5db351277c7b9932774d2df7d6ac
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>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
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]