LP1714512: Patron Edit Barcode Validation
[working/Evergreen.git] / Open-ILS / web / js / ui / default / staff / circ / patron / regctl.js
index 92c4a5f..91e6067 100644 (file)
@@ -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']) {