[open-ils-commits] [GIT] Evergreen ILS branch master updated. 91d838f48e5931d1e599a7473a9ffce9dbedad47
Evergreen Git
git at git.evergreen-ils.org
Fri Aug 10 10:18:32 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, master has been updated
via 91d838f48e5931d1e599a7473a9ffce9dbedad47 (commit)
from eac43ead53e9da0238a9013e7bec38569b9828ef (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 91d838f48e5931d1e599a7473a9ffce9dbedad47
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