From: Galen Charlton Date: Fri, 8 Jul 2022 17:04:55 +0000 (-0400) Subject: LP#1959716: (follow-up) extend fix to item tags X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9c86543b4d4ba7cc4913d6db6e0058f9db474d82;p=working%2FEvergreen.git LP#1959716: (follow-up) extend fix to item tags To test this patch series: [1] Set the Angular holdings and item attributes editor to unified mode. [2] Create a new call number and item. Note that the buttons to create item tags, item alerts, and item notes do not work. [3] Apply the patch and repeat step 2. [4] This time, adding tags, alerts, and notes in the course of creating a new item should work. 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 d4641042e0..c62d28be86 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 @@ -102,7 +102,7 @@ export class CopyTagsDialogComponent // In manage mode, we can only manage a single copy. // But in create mode, we can add tags to multiple copies. - if (this.copyIds.length === 1) { + if (this.copyIds.length === 1 && !this.inPlaceCreateMode) { this.mode = 'manage'; } else { this.mode = 'create';