How to search recently modified pages in AEM5.6 using OOTB search component
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.
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.
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-manager.topic.html/forum__mqzl-i_need_to_developa.html
http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__mpgz-need_to_ristrictthe.html
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.