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>
Thu, 25 Jun 2020 14:36:18 +0000 (10:36 -0400)
commit7c7f58e826377f7e278b2012b36f5ef9c6c3ae95
treec0b2e117eb05237c6fa645cd749e79c408245282
parentd5b226f6bca38c98b0672f5b98d48c4933210755
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