LP#1954681 Individual overrides when placing multiple holds user/dbriem/lp1954681_place_hold_override_all
authorDan Briem <dbriem@wlsmail.org>
Fri, 18 Feb 2022 22:25:26 +0000 (17:25 -0500)
committerDan Briem <dbriem@wlsmail.org>
Fri, 18 Feb 2022 22:25:26 +0000 (17:25 -0500)
commitedfde145d8b4472119d3ce86b8f813391911fbd8
tree1a825134f9aa89675405b36913e9170deb15bd5e
parentb2cd5140602c7cfd84ec864a673377a042d8d732
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>
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.html
Open-ILS/src/eg2/src/app/staff/catalog/hold/hold.component.ts