[open-ils-commits] [GIT] Evergreen ILS branch master updated. 4b93a501ed28b66ae1f3c61bc09c17dd7794eb83
Evergreen Git
git at git.evergreen-ils.org
Fri May 25 15:52:37 EDT 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 4b93a501ed28b66ae1f3c61bc09c17dd7794eb83 (commit)
from 3f762988042021aaa31a646759055f226d58e777 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4b93a501ed28b66ae1f3c61bc09c17dd7794eb83
Author: Jason Boyer <jboyer at library.in.gov>
Date: Wed Feb 21 13:59:44 2018 -0500
LP1750887: Copy Objects when Saving Copy Templates
Copy the callnumbers and statcats objects when saving
copy templates to prevent accidental and confusing
editing of in-memory copies.
cesardv: changed tabs to spaces.
Signed-off-by: Jason Boyer <jboyer at library.in.gov>
Signed-off-by: Cesar Velez <cesar.velez at equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>
diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js
index 59ef059..b722a1c 100644
--- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js
+++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js
@@ -2216,6 +2216,7 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore ,
if (angular.isObject(v)) { // we'll use the pkey
if (v.id) v = v.id();
else if (v.code) v = v.code();
+ else v = angular.copy(v); // Should only be statcats and callnumbers currently
}
tmpl[k] = v;
-----------------------------------------------------------------------
Summary of changes:
.../web/js/ui/default/staff/cat/volcopy/app.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list