Skip to content

Commit 301ede0

Browse files
IanSkelskeytmccanna
authored andcommitted
LP#2096865: Fix inconsistent name fields in offline patron registration
The name fields in offline patron registration were not displayed consistently. The \"Primary Name\" tab is now set to expand by default, improving the initial visibility. Additionally, fields in the \"Preferred Name\" tab will appear by default when selected, resolving earlier confusion. Release-Note: Fix inconsistent display of name fields in offline patron registration Signed-off-by: Ian Skelskey <[email protected]> Signed-off-by: Susan Morrison <[email protected]> Signed-off-by: Terran McCanna <[email protected]>
1 parent 7b18b3b commit 301ede0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Open-ILS/web/js/ui/default/staff/offline.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,8 @@ function($scope , $routeParams , $q , $uibModal , $window , egCore ,
15211521
$scope.edit_passthru = {};
15221522

15231523
// 0=all, 1=suggested, 2=required
1524-
$scope.edit_passthru.vis_level = 2;
1524+
$scope.edit_passthru.vis_level = 2;
1525+
$scope.name_tab = 'primary';
15251526

15261527
// Apply default values for new patrons during initial registration
15271528
// prs is shorthand for patronSvc
@@ -1645,6 +1646,7 @@ function($scope , $routeParams , $q , $uibModal , $window , egCore ,
16451646
'au.passwd' : 3,
16461647
'au.first_given_name' : 3,
16471648
'au.family_name' : 3,
1649+
'au.pref_first_given_name' : 2,
16481650
'au.ident_type' : 3,
16491651
'au.home_ou' : 3,
16501652
'au.profile' : 3,

0 commit comments

Comments
 (0)