From f70f6f6c26342e35c8514b2660588144b6b8001d Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Fri, 1 Sep 2017 09:49:36 -0400 Subject: [PATCH 1/1] LP1714512: Patron Edit Barcode Validation There are 2 barcode related regular expression OUS but the web user editor is using the wrong one. This branch corrects that. Signed-off-by: Jason Boyer Signed-off-by: Kathy Lussier --- Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js index 92c4a5f97a..91e606770b 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js +++ b/Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js @@ -1079,9 +1079,9 @@ angular.module('egCoreMod') new RegExp(service.org_settings['opac.username_regex']); } - if (service.org_settings['opac.barcode_regex']) { + if (service.org_settings['ui.patron.edit.ac.barcode.regex']) { patterns.ac.barcode = - new RegExp(service.org_settings['opac.barcode_regex']); + new RegExp(service.org_settings['ui.patron.edit.ac.barcode.regex']); } if (service.org_settings['global.password_regex']) { -- 2.43.2