LP1850555 Item location selector improvements
authorBill Erickson <berickxx@gmail.com>
Wed, 20 May 2020 20:36:23 +0000 (16:36 -0400)
committerBill Erickson <berickxx@gmail.com>
Tue, 16 Jun 2020 21:48:35 +0000 (17:48 -0400)
commitb3f8c3ce629ac842fd207d1f81445f4199bb2a3c
tree6b1740f0f4e2fa86d853d873d8dfa620a4efc283
parent27438c7ce117b3b0cf518c6de4a50da9a9014cf0
LP1850555 Item location selector improvements

* Ensure that the desired location is always available in the selector
  regardless of whether the staff have permission to use the location.

* Display org unit short name for selected locations simimilar to how
  they are displayed in the selector dropdown.

* Adds an <Unset> option in cases where the new 'required' flag is set
  to false.  This explicitly makes it possible for staff to cleare the
  value.

* Gracefully handle cases where locations from no org units are eligible
  for display.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/share/item-location-select/item-location-select.component.html
Open-ILS/src/eg2/src/app/share/item-location-select/item-location-select.component.ts
Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html