Hi All,
I have a requirement where I need to sort the search results in assets.html page as per last modified date. I am attaching a screenshot where we can see that there is no sort order as per date. This is the OOTB result with AEM6.3 SP2. Any help on this would be appreciated. I tried Adobe Experience Manager Customization: AEM 6.2 sort pages in sites admin console this link to sort results for sites.html but it doesn't work
Solved! Go to Solution.
overlay /libs/ dam/gui/content/facets/assets/items under apps and go to /apps/dam/gui/content/facets/assets/items/
create a node nt:unstructured orderby
<orderby
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/hidden"
listOrder="17"
metaType="hidden"
name="orderby"
value="@jcr:content/jcr:lastModified"/>
Hi,
Could you please try to switch on List view and then click on modify date for ascending and descending order sort. if it helps
Thanks
Arun
Views
Replies
Total Likes
Actually the requirement is to display the sorted search result in card view.
Hey there! Were you able to solve this? Thanks!
Views
Replies
Total Likes
List view list you sort by mod date - sometimes its better to use the given functionality in AEM then trying to modify code under /libs. Here is this sorted by mod date:
The requirement is to order in card view, and also the only ones to order are assets, not folders, so... I thought it was an easier modification, but it's taking a lot of time and not sure how to do it yet. Also adding parameters under /libs/dam/gui/content/assets/jcr:content/views/card in the src property /mnt/overlay/dam/gui/content/assets/jcr:content/views/card{.offset,limit}.html{+id}?sortName=modified&sortDir=asc is not applicable because I have to exclude folders from the ordering. Any clues?
Views
Replies
Total Likes
overlay /libs/ dam/gui/content/facets/assets/items under apps and go to /apps/dam/gui/content/facets/assets/items/
create a node nt:unstructured orderby
<orderby
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/hidden"
listOrder="17"
metaType="hidden"
name="orderby"
value="@jcr:content/jcr:lastModified"/>
Hi all, i need to implement the same thing but i need to sort by Title. I have AEM 6.3.2.0 but i dont have the node "/libs/dam/gui/content/facets/assets/items", could you help me?
Hi I have the same implementation to be done, i'm working with Version 6.3.3.2 where i have installed 6.3.3.0 service pack and AEM-CFP-6.3.3.2 OOTB sort is not on date. And am not finding the path "/libs/dam/gui/content/facets/assets/items" any help would be helpful.