LP#1929587 Place hold button in staff client user/mccanna/lp1929587_place_hold_visible_no_holdable_copies_signoff
authorDan Briem <dbriem@wlsmail.org>
Fri, 28 May 2021 15:57:07 +0000 (11:57 -0400)
committerTerran McCanna <tmccanna@georgialibraries.org>
Fri, 28 May 2021 19:15:09 +0000 (15:15 -0400)
commit00429a1f4f24a6e1852c9665d30cea22fee36aaa
treec29de07bc67b011a3712e742cf119b35dd3e78fe
parentd318552d753ec182d1f2a0e9cec8488370587c3f
LP#1929587 Place hold button in staff client

This disables and re-styles the place hold button on search
results and record pages if the record is deleted or doesn't
have any holdable copies. This is similar to the OPAC, except
the OPAC hides the button, while this disables and greys out the
button.

To test:
* Search for records without any copies
* Search for records without holdable copies
* If using concerto data, a keyword search for map will give you
a mix of records with or without copies

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/eg2/src/app/share/catalog/bib-record.service.ts
Open-ILS/src/eg2/src/app/staff/catalog/record/actions.component.html
Open-ILS/src/eg2/src/app/staff/catalog/record/actions.component.ts
Open-ILS/src/eg2/src/app/staff/catalog/record/record.component.html
Open-ILS/src/eg2/src/app/staff/catalog/result/record.component.html
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm