Bug #1486: Take into account i18n to sort UserRole list.
FEA: ItEr76S04BugFixing
This commit is contained in:
parent
aa77ad367c
commit
540d3c1378
1 changed files with 2 additions and 1 deletions
|
|
@ -156,7 +156,8 @@ public class UserCRUDController extends BaseCRUDController<User> implements
|
|||
Collections.sort(roles, new Comparator<UserRole> () {
|
||||
@Override
|
||||
public int compare(UserRole arg0, UserRole arg1) {
|
||||
return arg0.getDisplayName().compareTo(arg1.getDisplayName());
|
||||
return _(arg0.getDisplayName()).compareTo(
|
||||
_(arg1.getDisplayName()));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue