Changing order of how blog posts appear with AEM journal/blog component | Community
Skip to main content
davidevg09
Level 2
March 27, 2018
Solved

Changing order of how blog posts appear with AEM journal/blog component

  • March 27, 2018
  • 2 replies
  • 1279 views

I want to be able to change the order of the blog posts created using the AEM journal/blog component. After creating five posts and looking at the generated json, the configuration.sortOrder  is equaled to "REVERSED_ORDER" which makes sense because by default it seems that the most recent posts should appear on the top.

My question is, what file do I update to change "REVERSED_ORDER" to some other value or is there somewhere where I can change the ordering of how my blog posts appear on my page.

I'm using AEM 6.3.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Rahul_Bhardwaj

Hi davidevg09, @

Sorting in blogs is not allowed by design[0]. The  configuration.sortOrder is an artifact of super entity. Sorting is allowed in forum(just to give you an example, why is it needed in super entity).

FYI - Any component, where sorting is supported, the settings can be modified in authoring [1].

Hope that helps,

Rahul

[0] - Blog Feature

[1] - Forum Feature (Refer configuring a forum)

2 replies

Rahul_Bhardwaj
Adobe Employee
Rahul_BhardwajAdobe EmployeeAccepted solution
Adobe Employee
March 28, 2018

Hi davidevg09, @

Sorting in blogs is not allowed by design[0]. The  configuration.sortOrder is an artifact of super entity. Sorting is allowed in forum(just to give you an example, why is it needed in super entity).

FYI - Any component, where sorting is supported, the settings can be modified in authoring [1].

Hope that helps,

Rahul

[0] - Blog Feature

[1] - Forum Feature (Refer configuring a forum)

davidevg09
Level 2
March 28, 2018

Thank you very much for the reply!