Bug: Fixes sorting in both users and profiles list.
* Does the sorting case-insensitive. * Inserts the ascending sorting icon in the interface to inform about the default sorting being used.
This commit is contained in:
parent
5fd977ffcf
commit
f87ae59560
2 changed files with 4 additions and 2 deletions
|
|
@ -23,7 +23,8 @@
|
|||
<newdatasortablegrid id="listing" model="@{controller.profiles}" mold="paging"
|
||||
pageSize="10" sclass="clickable-rows">
|
||||
<columns sizable="true">
|
||||
<newdatasortablecolumn label="${i18n:_('Profile name')}" sort="auto(profileName)" />
|
||||
<newdatasortablecolumn label="${i18n:_('Profile name')}"
|
||||
sort="auto(lower(profileName))" sortDirection="ascending"/>
|
||||
<newdatasortablecolumn label="${i18n:_('Actions')}" />
|
||||
</columns>
|
||||
<rows>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,8 @@
|
|||
pageSize="10" sclass="clickable-rows"
|
||||
rowRenderer="@{controller.usersRenderer}">
|
||||
<columns sizable="true">
|
||||
<newdatasortablecolumn label="${i18n:_('Username')}" sort="auto(loginName)" />
|
||||
<newdatasortablecolumn label="${i18n:_('Username')}"
|
||||
sort="auto(lower(loginName))" sortDirection="ascending"/>
|
||||
<newdatasortablecolumn label="${i18n:_('Disabled')}" />
|
||||
<newdatasortablecolumn label="${i18n:_('Superuser')}" />
|
||||
<newdatasortablecolumn label="${i18n:_('Authentication type')}" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue