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=b202e1e951120564ea4e99b52ea0c2a73431f634;p=Evergreen.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 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 {