From aad51f17a2b3d1b7d4ac3af6bbd2d51e148dff2f Mon Sep 17 00:00:00 2001 From: Cesar Velez Date: Mon, 30 Apr 2018 15:12:53 -0400 Subject: [PATCH] LP#1738893-allow saving required statcats in multi record vol-copy edit This change allows the user to set a required stat cat for multiple record copies in the Volcopy editor. Signed-off-by: Cesar Velez Signed-off-by: Kathy Lussier --- Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 index aebd2beb9d..d1a692ccb8 100644 --- a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 +++ b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 @@ -446,7 +446,7 @@ ng-change="statcatUpdate(sc.id())" ng-model="working.statcats[sc.id()]" ng-options="e.id() as e.value() for e in sc.entries()" - ng-required="sc.required() == 't'"> + ng-required="sc.required() == 't' && !working.statcats_multi[sc.id()]"> -- 2.11.0