PINES Customization: Require patron identification rel_3_0_2_require_patron_identification
authorTerran McCanna <tmccanna@georgialibraries.org>
Thu, 21 Dec 2017 20:40:46 +0000 (15:40 -0500)
committerTerran McCanna <tmccanna@georgialibraries.org>
Thu, 21 Dec 2017 20:40:46 +0000 (15:40 -0500)
Requires something to be entered in the ID value field

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js

index cdf2875..80c9bfc 100644 (file)
@@ -1283,6 +1283,7 @@ function($scope , $routeParams , $q , $uibModal , $window , egCore ,
     // 3 == value universally required
     // 2 == field is visible by default
     // 1 == field is suggested by default
+    // PINES Customization: Make au.ident_value required
     var field_visibility = {};
     var default_field_visibility = {
         'ac.barcode' : 3,
@@ -1291,6 +1292,7 @@ function($scope , $routeParams , $q , $uibModal , $window , egCore ,
         'au.first_given_name' : 3,
         'au.family_name' : 3,
         'au.ident_type' : 3,
+        'au.ident_value' : 3,
         'au.ident_type2' : 2,
         'au.home_ou' : 3,
         'au.profile' : 3,