I am using a Content Fragment list component(v1) to display content fragments, and I have set the Order By field.
If multiple content fragments have the same value for this field, what order will they be in? Will they be randomly sorted, or sorted by some other fields like Created?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
It depends on the parent node. If parent node is node support the order then alphabetical order will be followed e.g sling:OrderedFolder otherwise the order of creation e.g. sling:Folder
Hi @ColdBuffalo
It is not possible to use more than one sort order.
If the two CF have the same sort value then the ordering is the node in the tree/AEM.
Thank you for your explanation. Could you please explain how the order of nodes in the tree is determined? Is it based on the order they are created, or the alphabetical order of their names?
Views
Replies
Total Likes
Hi,
It depends on the parent node. If parent node is node support the order then alphabetical order will be followed e.g sling:OrderedFolder otherwise the order of creation e.g. sling:Folder
If the values are the same of the field selected for Order By, then their node hierarchy will be used to define precedence.
Views
Likes
Replies