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>
Tue, 16 Jun 2020 20:29:54 +0000 (16:29 -0400)
commitfb69215500f0bfe29e171c29602e3000768e85d1
tree7ff2ebb036f6d9e4f0610ad27a7faed3af62e3d3
parent70b6ea6dbdd79e1fced4e10cdbf64dd4283efee8
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