[open-ils-commits] [GIT] Evergreen ILS branch master updated. 1b4eab0f9c9266481f2269f1f813318f024eb9a7

Evergreen Git git at git.evergreen-ils.org
Thu Sep 1 23:04:05 EDT 2011


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  1b4eab0f9c9266481f2269f1f813318f024eb9a7 (commit)
      from  8b64336269e57d01f3d5fb284372fec020eb81b0 (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 1b4eab0f9c9266481f2269f1f813318f024eb9a7
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Thu Sep 1 23:18:03 2011 -0400

    fix Acq -> Update Barcodes post-parts
    
    Items from acquisitions were having null instead of [] for .parts()
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>

diff --git a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
index 127d5c4..aecfe20 100644
--- a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
+++ b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
@@ -735,7 +735,7 @@ g.render_barcode_entry = function(node,callnumber_composite_key,count,ou_id) {
                 tb.setAttribute('acp_id', g.org_label_existing_copy_map[ ou_id ][ callnumber_composite_key ][i].id());
                 var temp_parts = g.org_label_existing_copy_map[ ou_id ][ callnumber_composite_key ][i].parts();
                 temp_parts = util.functional.filter_list(
-                    temp_parts,
+                    temp_parts || [],
                     function(p) {
                         return p.record() == g.doc_id; // filter out foreign parts
                     }

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

Summary of changes:
 .../staff_client/server/cat/volume_copy_creator.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list