LP#1929587 Place hold button in staff client user/dbriem/lp1929587_place_hold_visible_no_holdable_copies
authorDan Briem <dbriem@wlsmail.org>
Fri, 28 May 2021 15:57:07 +0000 (11:57 -0400)
committerDan Briem <dbriem@wlsmail.org>
Fri, 28 May 2021 15:57:07 +0000 (11:57 -0400)
commit387b6f5e0447eef26d258a083adcd5cba0967785
tree646cc022131755d49953308c32c6c6d6e1644345
parentbbde3ba23bef6ea962477cc8c08426a04652b0bf
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>
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