[open-ils-commits] [GIT] Evergreen ILS branch rel_2_12 updated. 60babbe6d9bea564d5653f7136e658d8717695ba

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, rel_2_12 has been updated
       via  60babbe6d9bea564d5653f7136e658d8717695ba (commit)
      from  99756288c586291010ffe64878884cd00582ee40 (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 60babbe6d9bea564d5653f7136e658d8717695ba
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 fe7901d..9967ce3 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
@@ -808,7 +808,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