List view sorting issue | Community
Skip to main content
sahilw46733527
Level 2
Feb 14, 2019 7:27 AM UTC
Solved

List view sorting issue

Hi,

We are trying to sort assets alphabetically in list view through "name". To implement this feature we have overlaid "/libs/dam/gui/content/assets/jcr:content/views/list" to apps folder and set the sorting property to "true". Now there are 2 properties set at list view node which are "limit" and  "size" where value is 40. So when assets are more than this specified value so then AEM is sorting the assets with names in lower-case and upper-case letters separately. So resolve this i tried to change the limit to expected 1000 then my AEM is going in stale state.

Is there any way out to resolve this?

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
vijkumar
vijkumarAccepted solution
Employee
Jul 16, 2019 12:34 PM UTC

[1] is the node to make the Name column sortable. To make the sorting case insensitive, try using 'sortMode' as 'local' at [2] which is set as 'remote' by default. Refer [3] for more details

[1] /libs/dam/gui/content/commons/availablecolumns/name

[2] /libs/dam/gui/content/assets/jcr:content/views/list

[3] Table — Granite UI 1.0 documentation

1 reply

vijkumar
vijkumarAccepted solution
Employee
Jul 16, 2019 12:34 PM UTC

[1] is the node to make the Name column sortable. To make the sorting case insensitive, try using 'sortMode' as 'local' at [2] which is set as 'remote' by default. Refer [3] for more details

[1] /libs/dam/gui/content/commons/availablecolumns/name

[2] /libs/dam/gui/content/assets/jcr:content/views/list

[3] Table — Granite UI 1.0 documentation

Translate