[open-ils-commits] [GIT] Evergreen ILS branch rel_2_7 updated. db4235733db79ebfb4ddf271c3cf513b7aadb64b

Evergreen Git git at git.evergreen-ils.org
Wed Nov 4 12:10:00 EST 2015


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_2_7 has been updated
       via  db4235733db79ebfb4ddf271c3cf513b7aadb64b (commit)
      from  94d1b5786512beefd2c5805e25407d0779b30c6e (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 db4235733db79ebfb4ddf271c3cf513b7aadb64b
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Thu Oct 29 19:30:31 2015 +0000

    LP#1406786: fix remapping copies during parts merge
    
    This patch fixes an issue with how copies are mapped
    on the target part when using "Merge Selected" in the
    Monograph Parts interface.
    
    To test:
    
    [1] Create some monograph parts on a record and assign
        some copies to use them.
    [2] Use the merge parts function to collapse all of the
        parts created in step 1 onto a single part.
    [3] Verify that the copies whose original parts were removed
        are now mapped onto the part that was the target of the
        merge.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>

diff --git a/Open-ILS/web/js/dojo/openils/biblio/monographPartMerge.js b/Open-ILS/web/js/dojo/openils/biblio/monographPartMerge.js
index 59b557e..31644fd 100755
--- a/Open-ILS/web/js/dojo/openils/biblio/monographPartMerge.js
+++ b/Open-ILS/web/js/dojo/openils/biblio/monographPartMerge.js
@@ -71,10 +71,11 @@ if(!dojo._hasResource["openils.biblio.monographPartMerge"]) {
 	    dojo.forEach(cpmList,
 		    function (g) {
                        g.part(parseInt(obj.itemID))		/* Assign "winner" DB id of mono_part. */
+                       g.ischanged(true);
 		    });
 
            if (cpmList.length > 0) {
-               pcrud.update( cpmList, {});
+               pcrud.apply( cpmList);
            }
  
            /*

-----------------------------------------------------------------------

Summary of changes:
 .../js/dojo/openils/biblio/monographPartMerge.js   |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list