LP1850555 Item location selector improvements user/berick/lp850555-item-loc-select-1
authorBill Erickson <berickxx@gmail.com>
Wed, 20 May 2020 20:36:23 +0000 (16:36 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 20 May 2020 20:36:25 +0000 (16:36 -0400)
commite21092283967a0e4936023f0d92107d26352bb86
tree3fa028bc8880e394ecc577de80f22c9da2cd19f1
parentb6c7a83d91ae1580bd4ad713d4a6090fcfbdbe2e
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