LP#1942220: link shelving location selector to OU selector
authorGalen Charlton <gmc@equinoxOLI.org>
Wed, 8 Dec 2021 15:42:41 +0000 (10:42 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 8 Dec 2021 15:42:41 +0000 (10:42 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/acq/lineitem/copy-attrs.component.html

index 660cc13..ac56dd4 100644 (file)
@@ -17,6 +17,7 @@
   <div class="flex-1 p-1">
     <eg-item-location-select [readOnly]="fieldIsDisabled('location')"
       #locationSelector [ngModel]="copy.location()" [startsWith]="true"
+      [contextOrgId]="copy.owning_lib()" [loadAsync]="false"
       (valueChange)="valueChange('location', $event)"
       permFilter="CREATE_PICKLIST" [showUnsetString]="false">
     </eg-item-location-select>