LP1878079 Staffcat Add Call Nums honors selected orgs
authorBill Erickson <berickxx@gmail.com>
Mon, 11 May 2020 19:10:37 +0000 (15:10 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 27 Jul 2020 14:09:11 +0000 (10:09 -0400)
commit36c12ffb910745f95ac2bebb434e0c7fc98de3d3
treed7fa15deeaf74a852412c4cc1fc055337aefee86
parent4355cc61ad4271f5aec7dbab371f3d46cbda0a33
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>
Open-ILS/src/eg2/src/app/staff/catalog/record/holdings.component.ts