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>
Wed, 13 May 2020 15:24:01 +0000 (11:24 -0400)
commit1c3007e5fde1e70751313ec09da4bf92b176c5b0
treea7f6d465252d4e4b9563536df5d39d28091dbe39
parent07971c7e01ba6911a64955272592798f7ad24f69
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