[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 4bb5d07bb131b50cf6a001340d9c092e8e27465e
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, rel_2_1 has been updated
via 4bb5d07bb131b50cf6a001340d9c092e8e27465e (commit)
from 60a9afc3e0018e820ff4b8598ab14e9d230b5779 (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 4bb5d07bb131b50cf6a001340d9c092e8e27465e
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 7b0bee9..9cb8164 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
@@ -720,7 +720,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