[open-ils-commits] [GIT] Evergreen ILS branch rel_3_0 updated. a3b74e058e4143b29efbb78aeeb79ab948c1d0b4
Evergreen Git
git at git.evergreen-ils.org
Fri May 25 15:52:38 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, rel_3_0 has been updated
via a3b74e058e4143b29efbb78aeeb79ab948c1d0b4 (commit)
from 862b921cf10644a4d5a87aaf19880da61478c614 (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 a3b74e058e4143b29efbb78aeeb79ab948c1d0b4
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 80ec8ba..b1d2375 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
@@ -2070,6 +2070,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