[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. fdd5c02aec0d65bca81df1ccf9e3746ccde6cd06
Evergreen Git
git at git.evergreen-ils.org
Mon Jun 13 17:21:12 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 fdd5c02aec0d65bca81df1ccf9e3746ccde6cd06 (commit)
from e40bc29c76a75bced72247b7cfc8a95fe8b067e0 (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 fdd5c02aec0d65bca81df1ccf9e3746ccde6cd06
Author: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
Date: Mon Jun 13 16:40:07 2011 -0400
Fix a serial batch receive problem reported by Sally Fortin
That prevents receiving items when not using units in some cases.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
Signed-off-by: Dan Wells <dbw2 at calvin.edu>
diff --git a/Open-ILS/xul/staff_client/server/serial/batch_receive.js b/Open-ILS/xul/staff_client/server/serial/batch_receive.js
index 0009ccb..503a2ec 100644
--- a/Open-ILS/xul/staff_client/server/serial/batch_receive.js
+++ b/Open-ILS/xul/staff_client/server/serial/batch_receive.js
@@ -996,7 +996,8 @@ function BatchReceiver() {
* they start or end in spaces, we'll unintentionally create
* a new, different CN if we trim that */
var cn_string = this._row_field_value(id, "call_number");
- var barcode = this._row_field_value(id, "barcode").trim();
+ var barcode = this._row_field_value(id, "barcode");
+ if (barcode && barcode.trim) barcode = barcode.trim();
if (barcode && cn_string.length) {
var unit = new sunit();
-----------------------------------------------------------------------
Summary of changes:
.../staff_client/server/serial/batch_receive.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list