From: Jason Boyer Date: Fri, 1 Sep 2017 13:49:36 +0000 (-0400) Subject: LP1714512: Patron Edit Barcode Validation X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a91f2258e2ac5af1ebe219ad1581550cd461491b;p=working%2FEvergreen.git 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 --- 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']) {