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:
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)
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:
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)