]> git.evergreen-ils.org Git - working/Evergreen.git/commit - Open-ILS/src/eg2/src/app/staff/share/patron.service.ts
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:44:38 +0000 (11:44 -0500)
commit1e35be4827254524e229ead11f89c5de1340113d
tree33305ce4f40bb3064ea7a03ec279c1f221c33cf8
parent63c7000c3d4166a7b832ee5e28a399dc555401a1
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