From 5b7d750cd7f1cb725819499bebd2b7c919de993f 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 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 { -- 2.11.0