List view sorting issue | Community
Skip to main content
sahilw46733527
February 14, 2019
Solved

List view sorting issue

  • February 14, 2019
  • 1 reply
  • 2353 views

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.
Best answer by vijkumar

[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
Adobe Employee
vijkumarAdobe EmployeeAccepted solution
Adobe Employee
July 16, 2019

[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