Level 3
September 26, 2023
Solved
Unable to sort by Content Fragment Model in List View
- September 26, 2023
- 2 replies
- 1037 views
When looking at Content Fragments in List View with Content Fragment Model column enabled sorting based on Content Fragment Model does not work. The sorting control exist but it appears to sort based on Created date rather on Content Fragment Model. If sorting is selected, regardless of ascending or descending, it sorts newest to oldest.
This has been tested in AEM 6.5.17 and 6.5.18.
To duplicate:
- Open a folder in Assets that contains Content Fragments of different models.
- Change the view to List View
- Add the Content Fragment Column
- click the view selector icon
- click View Settings
- enable Content Fragment Model
- Click the column header "Content Fragment Model". The indicator icon will switch to sorting ascending. However the Created column is sorted newest to oldest not the Content Fragment Model column.
- Click the column header again. The indicator will switch to descending however it is still sorted by Created column newest to oldest.