From: Jessica Woolford Date: Fri, 9 Dec 2022 15:54:43 +0000 (-0500) Subject: LP # 1965447: adjust scoping of item tags Angular Holdings Editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2845dc07d156e607ada2aab25955524e4d067125;p=working%2FEvergreen.git LP # 1965447: adjust scoping of item tags Angular Holdings Editor Scopes to the org unit and ancestors of the signed-in user's workstation when adding a new item tag. Signed-off-by: Jessica Woolford Signed-off-by: Beth Willis Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/share/holdings/copy-tags-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/share/holdings/copy-tags-dialog.component.ts index 7c14f16dcb..385d9f3451 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/holdings/copy-tags-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/holdings/copy-tags-dialog.component.ts @@ -82,7 +82,8 @@ export class CopyTagsDialogComponent '-or': [ {value: {'ilike': `%${term}%`}}, {label: {'ilike': `%${term}%`}} - ] + ], + owner: this.org.ancestors(this.auth.user().ws_ou(), true) }, {order_by: {acpt: 'label'}} ).pipe(map(copyTag => {