[open-ils-commits] [GIT] Evergreen ILS branch rel_3_1 updated. 40a3132236393425cfb8fd4d7d2fee6e984ab62c

Evergreen Git git at git.evergreen-ils.org
Fri Aug 10 10:19:10 EDT 2018


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_3_1 has been updated
       via  40a3132236393425cfb8fd4d7d2fee6e984ab62c (commit)
      from  ef09ffa85b04f82e253102e7c31e44dfecff6deb (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 40a3132236393425cfb8fd4d7d2fee6e984ab62c
Author: Bill Erickson <berickxx at gmail.com>
Date:   Tue Aug 7 15:00:12 2018 -0400

    LP#1747512 Non-cat checkout fix display/print
    
    Fixes an issue which caused an exception to be thrown during non-cat
    item checkout in the browser client, preventing the checkout from being
    properly displayed in the checkout page, the Items Out list, and on the
    receipt.
    
    Signed-off-by: Bill Erickson <berickxx at gmail.com>
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>

diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js b/Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js
index 99b001c..cdb944c 100644
--- a/Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js
+++ b/Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js
@@ -213,7 +213,9 @@ function($scope , $q , $routeParams , egCore , egUser , patronSvc ,
                     row_item[key] = val;
                 });
                
-                row_item['copy_barcode'] = row_item.acp.barcode();
+                if (row_item.acp) { // unset for non-cat items.
+                    row_item['copy_barcode'] = row_item.acp.barcode();
+                }
 
                 munge_checkout_resp(co_resp, row_item);
             },

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

Summary of changes:
 .../js/ui/default/staff/circ/patron/checkout.js    |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list