From 3999d7900960d02c091b7c5751ebead704d11e24 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 24 Aug 2020 10:49:12 -0400 Subject: [PATCH] Revert "LP#1332651 do not strip internal spaces in barcode" This reverts commit 10a0680e782a6cb7646d4f7d925c8feba44865c4. --- Open-ILS/web/js/ui/default/staff/circ/patron/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 736c938bb6..d6a6a1ec24 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 @@ -480,8 +480,7 @@ function($scope , $location , egCore , egConfirmDialog , egUser , patronSvc , $u $scope.bcNotFound = null; $scope.optInRestricted = false; if (!args.barcode) return; - args.barcode = args.barcode.replace(/^\s/g,''); - args.barcode = args.barcode.replace(/\s$/g,''); + args.barcode = args.barcode.replace(/\s/g,''); // blur so next time it's set to true it will re-apply select() $scope.selectMe = false; -- 2.11.0