Expand my Community achievements bar.

SOLVED

List view sorting issue

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Level 3

[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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 3

[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