LP1878079 Staffcat Add Call Nums honors selected orgs
authorBill Erickson <berickxx@gmail.com>
Mon, 11 May 2020 19:10:37 +0000 (15:10 -0400)
committerJane Sandberg <sandbej@linnbenton.edu>
Mon, 27 Jul 2020 16:34:33 +0000 (09:34 -0700)
commit92ef6cc3fb080486ce90e512a9d25e04fe4b965b
tree14400f32ac80c117cb643ff615463808978f99c9
parente0b6a271e23b9b3ebcf4d0e3cda44d615ac33681
LP1878079 Staffcat Add Call Nums honors selected orgs

When adding new call numbers from the Angular staff catalog Holdings
View grid, take all selected grid rows into consideration when
determining how many call numbers to add and what their owning libs
should be.

To test:
* Navigate to the Holdings View tab of a record detail page in the Angular
  staff catalog.
* Select multiple rows in the grid which are org unit-only rows (i.e.
  the row does not refer to a specific call number or item).
* From the action menu / right client menu, select "Add Callnumbers"
* Confirm that a call number entry for each selected org unit is present
  in the spawned holdings editor.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts