Skip to content

Conversation

olegt-codefresh
Copy link
Contributor

Fixes post sorting within year groups in the GitOps changelog. Posts are now correctly sorted by date in descending order within each group.

@codefresh-git-integration
Copy link

@@ -9,11 +9,12 @@ If you missed any of our previous online announcements, you can find the latest

> To subscribe to an RSS / Atom feed for our SaaS release notes, please [click here]({{ site.baseurl }}/changelog/gitops.xml).

{% assign posts_by_year = site.posts-gitops | group_by_exp: "post", "post.date | date: '%Y'" %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you really need to do | reverse twice? here and in line 16

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the first one if for the years group and the second one is for the items inside the group.

@olegt-codefresh olegt-codefresh merged commit 4912635 into master Jun 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants