Using OOTB search component i want to display the latest modified pages , desc order, i.e last modified page should display first. Any suggestion will be of great help.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
i would try to create my own search component for this instead since the order in the OOB component is of relevance.
I have written some answers about customization and making your own search jsp page. See these links:
http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
Basically you just need to modify the ordering by criteria in those examples to suite your needs. Trying with the querybuilder api in the debug mode on your author is a great way to test everything firs (http://<server>:<port>/libs/cq/search/content/querydebug.html)
Good Luck
/Johan
Views
Replies
Total Likes
Hi,
i would try to create my own search component for this instead since the order in the OOB component is of relevance.
I have written some answers about customization and making your own search jsp page. See these links:
http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...
Basically you just need to modify the ordering by criteria in those examples to suite your needs. Trying with the querybuilder api in the debug mode on your author is a great way to test everything firs (http://<server>:<port>/libs/cq/search/content/querydebug.html)
Good Luck
/Johan
Views
Replies
Total Likes
Hi,
You can use OOTB sorting component. "Sort by date" will show latest result first.
Let me know if it works.
Thanks,
Views
Replies
Total Likes
Views
Likes
Replies