LP#1954681 Individual overrides when placing multiple holds user/mccanna/lp1954681_place_hold_override_all_signoff
authorDan Briem <dbriem@wlsmail.org>
Fri, 18 Feb 2022 22:25:26 +0000 (17:25 -0500)
committerTerran McCanna <tmccanna@georgialibraries.org>
Fri, 8 Apr 2022 14:02:02 +0000 (10:02 -0400)
commitb91b7c41952a4b5d3c3b41cfa511d14beb38364e
tree7a34364d878588c3ec34b8146c8f2d10bf4b5d76
parente35d1254e7608f5067fac23da6e62ecf5ef868c8
LP#1954681 Individual overrides when placing multiple holds

This adds an override all button above the override column if
there are multiple overridable holds (Angular Staff Catalog).

To test:
1. Ensure staff has permission to CREATE_DUPLICATE_HOLDS
   and HOLD_ITEM_CHECKED_OUT.override
2. Set org setting for Maximum number of duplicate holds allowed
   to a value greater than 1
3. Check out an item to a patron
4. Try to place a hold on that item with Number of copies set
   to a value greater than 1
5. Test that the Override All button appears and works

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.html
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts