From b202e1e951120564ea4e99b52ea0c2a73431f634 Mon Sep 17 00:00:00 2001 From: Jessica Woolford Date: Fri, 6 Jan 2023 15:32:42 -0500 Subject: [PATCH] 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 --- Open-ILS/src/eg2/src/app/staff/cat/volcopy/copy-attrs.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5841b32c7b..1826df70d4 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 @@ -646,7 +646,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 { -- 2.11.0