LP1850555 Item location selector improvements
authorBill Erickson <berickxx@gmail.com>
Wed, 20 May 2020 20:36:23 +0000 (16:36 -0400)
committerJane Sandberg <sandbej@linnbenton.edu>
Sun, 19 Jul 2020 16:23:00 +0000 (09:23 -0700)
commita068f53292d2c31fb3a102e12f8aeaacdabdd276
treef60faba7e45dc7c9fd5de53654cd5a5dd1825250
parent83588f6da7ae99489803d756749e777909db75d9
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 clear the
  value.

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

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
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