Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
contextOrgIds.forEach(id => orgIds = orgIds.concat(this.org.ancestors(id, true)));
this.filterOrgsApplied = true;
+ let orgIds = [];
+ contextOrgIds.forEach(id => orgIds = orgIds.concat(this.org.ancestors(id, true)));
if (!this.permFilter) {
return Promise.resolve(this.filterOrgs = [...new Set(orgIds)]);