[open-ils-commits] [GIT] Evergreen ILS branch master updated. 8c7bdaa944117eb29cce47d5d23a842db1586596

Evergreen Git git at git.evergreen-ils.org
Mon Aug 28 14:11:43 EDT 2017


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  8c7bdaa944117eb29cce47d5d23a842db1586596 (commit)
      from  47fa55c97cdd8eee851595be20667fad4c1dd6ec (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 8c7bdaa944117eb29cce47d5d23a842db1586596
Author: Skye Howard <showard at catalyte.io>
Date:   Thu Aug 17 21:52:08 2017 +0000

    LP#1629298: Web Client Checkout Fails For Barcodes With Spaces
    
    Web Client checkout trims spaces from patron barcodes differently than xul client checkout
    The web client was not removing the whitespaces before checking barcode searches
    this commit includes a step where the whitespaces are removed.
    
    Signed off by Skye Howard <showard at catalyte.io>
    Signed off by Cesar Velez <cesar.velez at equinoxinitiative.org>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/app.js b/Open-ILS/web/js/ui/default/staff/circ/patron/app.js
index a72a098..e942a0c 100644
--- a/Open-ILS/web/js/ui/default/staff/circ/patron/app.js
+++ b/Open-ILS/web/js/ui/default/staff/circ/patron/app.js
@@ -447,7 +447,7 @@ function($scope , $location , egCore , egConfirmDialog , egUser , patronSvc) {
         $scope.bcNotFound = null;
         $scope.optInRestricted = false;
         if (!args.barcode) return;
-
+        args.barcode = args.barcode.replace(/\s/g,'');
         // blur so next time it's set to true it will re-apply select()
         $scope.selectMe = false;
 

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

Summary of changes:
 .../web/js/ui/default/staff/circ/patron/app.js     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list