From: Jessica Woolford Date: Fri, 6 Jan 2023 20:32:42 +0000 (-0500) Subject: LP 1999696 - Saving stat cats and values in holdings templates X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5b7d750cd7f1cb725819499bebd2b7c919de993f;p=evergreen%2Fpines.git LP 1999696 - Saving stat cats and values in holdings templates Updating the saveTemplate function so that is consults statCatValues Signed-off-by: Jessica Woolford Signed-off-by: Beth Willis Signed-off-by: Michele Morgan --- diff --git a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.ts b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.ts index 9629c313e1..ca4b317541 100644 --- a/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.ts @@ -645,7 +645,7 @@ export class CopyAttrsComponent implements OnInit, AfterViewInit { const statId = field.match(/stat_cat_(\d+)/)[1]; if (!template.statcats) { template.statcats = {}; } - template.statcats[statId] = value; + template.statcats[statId] = this.statCatValues[statId]; } else {