LP1859241 Angular holds patron search dialog
authorBill Erickson <berickxx@gmail.com>
Thu, 9 Jan 2020 22:20:42 +0000 (17:20 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 21 Feb 2020 16:34:20 +0000 (11:34 -0500)
commit62191e7b571c77e2b89ed36ad1f98c5869385478
tree3845d6229165e9019413ab6eb6a6621661dad7ca
parent6332318c33b71061214522e016daeeb922283156
LP1859241 Angular holds patron search dialog

Implements a patron search dialog which may be instantiated directly
from the staff catalog holds placement interface.

Includes:

1. New patron module (which absorbs the existing PatronService)
2. New patron search component
3. Patron search component dialog wrapper.
4. Patron profile selector component which understands custom group
   display trees.
4. Fixes an issue with the grid where the 'datatype' was not always
   propagated to IDL fields.
5. Modifies the combobox to allow the caller to clear the value by
   passing a null value for the selectedId.

To Test:

[1] Navigate to the Angular staff catalog
[2] Perform a bib search
[3] Click 'Place Hold' next to a title.
[4] Click the 'Patron Search' button.
[5] Search for patrons and either double-click a search result row or
    single click then chose the 'Select' button.
[6] Confirm the selected patron is now chosen for holds placement.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@gmail.com>
19 files changed:
Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts
Open-ILS/src/eg2/src/app/share/grid/grid.ts
Open-ILS/src/eg2/src/app/staff/booking/booking.module.ts
Open-ILS/src/eg2/src/app/staff/booking/pickup.component.ts
Open-ILS/src/eg2/src/app/staff/booking/return.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/catalog.module.ts
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.html
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/result/results.component.ts
Open-ILS/src/eg2/src/app/staff/share/patron.service.ts [deleted file]
Open-ILS/src/eg2/src/app/staff/share/patron/patron.module.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/share/patron/patron.service.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/share/patron/profile-select.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/share/patron/profile-select.component.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/share/patron/search-dialog.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/share/patron/search-dialog.component.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/share/patron/search.component.html [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/share/patron/search.component.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/styles.css