LP1891960: Angular patron search org is sticky
authorJane Sandberg <sandbej@linnbenton.edu>
Mon, 24 Aug 2020 11:56:25 +0000 (04:56 -0700)
committerBill Erickson <berickxx@gmail.com>
Mon, 24 Aug 2020 14:29:37 +0000 (10:29 -0400)
commit9d4f120d50093a6b99ae96bcfd316714f094b5de
tree001ec902dfc8b34c0acf4659d3792968f8d85399
parent6b3012b5cc6a29a63eff0e8a6fc6e37aa57dd0bd
LP1891960: Angular patron search org is sticky

Also removes some unused dependencies and adds
a new org setting to the database:
eg.orgselect.patron.search

To test:
1) Find a title in the staff catalog.
2) Click Place Hold.
3) Search for a Patron.
4) Notice that the search org is initially
your root org (Consortium-level).
5) Select a different value.
6) Leave and come back to this screen.  Note
that the value you selected remains.
7) Perform a search to make sure that the
search is limited to the org you selected.
8) Click the Clear button.  Note that the
value you selected still remains.
9) Perform anoter search to make sure that the
search is limited to the org you selected.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/share/patron/search.component.html
Open-ILS/src/eg2/src/app/staff/share/patron/search.component.ts
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.patron-search-org-select.sql [new file with mode: 0644]