From 0f4d86fc1bd6face401892e7be5bb106ee652142 Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Fri, 1 Sep 2017 09:49:36 -0400 Subject: [PATCH] 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 61d3f58ac0..d68d9509df 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 @@ -1062,9 +1062,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.11.0