LP#1942220: eg-item-location-select: fix use of contextOrgId
authorGalen Charlton <gmc@equinoxOLI.org>
Wed, 8 Dec 2021 15:42:20 +0000 (10:42 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 8 Dec 2021 15:42:20 +0000 (10:42 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/share/item-location-select/item-location-select.component.ts

index 024e729..e951245 100644 (file)
@@ -253,7 +253,7 @@ export class ItemLocationSelectComponent
     }
 
     setFilterOrgs(): Promise<number[]> {
-        const org = this.contextOrgId || this.auth.user().ws_ou();
+        const org = this._contextOrgId || this.auth.user().ws_ou();
         const contextOrgIds = this.org.ancestors(org, true);
         this.filterOrgsApplied = true;