Display classic UI pages and folders in alphabetical order | Community
Skip to main content
Sumanth-Narra
Level 2
October 24, 2018

Display classic UI pages and folders in alphabetical order

  • October 24, 2018
  • 1 reply
  • 6469 views

Hi All,

I have a requirement to sort the pages in alphabetical order in classic UI in AEM 6.3. I've tried figuring out which nodes/files are responsible to sort it but couldn't find anything concrete.

Does anyone try to the same thing in Classic UI?

Regards

Sumanth

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Sumanth-Narra
Level 2
October 29, 2018

can someone respond to the above issue?  @Arun Patidar

smacdonald2008 @aem6.3 Arun Patidar

smacdonald2008
Level 10
October 29, 2018

Why not use Touch UI - this functionality is included when you select LIST view.

Most community members and Adobe are movign away from Classic UI. You will not find many AEM 6.3/6.4 examples for Classic UI.

Sumanth-Narra
Level 2
October 29, 2018

For Touch UI the sorting fixed fine in asc order, but is there any way we can fix in classic UI
here is my finding in classic:

The default network call which goes and sort pages is http://localhost:4502/content.pages.json?_dc=1540458605487&start=0&limit=30&predicate=siteadmin

To sort pages based on title, the following network call should happen where sort=title and dir=ASC params needs to be passed.

http://localhost:4502/content.pages.json?_dc=1540458727426&sort=title&dir=ASC&start=0&limit=30&predicate=siteadmin

In siteadmin.js I checked the function loadPages()

It contains the sortInfo which is by default sort=index and dir=ASC. Here, what I couldn't find is from where these values are coming and where it can be modified.

smacdonald2008