[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. 99ed26825133b786d0b1034b941878ab2fdc0918

Evergreen Git git at git.evergreen-ils.org
Mon Jun 13 17:21:47 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_0 has been updated
       via  99ed26825133b786d0b1034b941878ab2fdc0918 (commit)
      from  6582f0d04b50e5718366c5ab224b695c8e699120 (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 99ed26825133b786d0b1034b941878ab2fdc0918
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 5cef619..99f9500 100644
--- a/Open-ILS/xul/staff_client/server/serial/batch_receive.js
+++ b/Open-ILS/xul/staff_client/server/serial/batch_receive.js
@@ -916,7 +916,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