[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. 7a8603062c89af6b4ae23077b30404f961c886da

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_1 has been updated
       via  7a8603062c89af6b4ae23077b30404f961c886da (commit)
      from  343b83a54ab4a7249739d229faa3216895a5169a (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 7a8603062c89af6b4ae23077b30404f961c886da
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