From 2845dc07d156e607ada2aab25955524e4d067125 Mon Sep 17 00:00:00 2001 From: Jessica Woolford Date: Fri, 9 Dec 2022 10:54:43 -0500 Subject: [PATCH] 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 --- .../src/eg2/src/app/staff/share/holdings/copy-tags-dialog.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 => { -- 2.11.0