Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List items in RSS field in descending order #3621

Merged
merged 2 commits into from Oct 21, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion bodhi/server/renderers.py
Expand Up @@ -159,7 +159,7 @@ def describe(*args, **kwargs):
},
}

for value in data[key]:
for value in reversed(data[key]):
feed_item = feed.add_item()
for name, getter in getters[key].items():
# Because we have to use methods to fill feed entry attributes,
Expand Down
1 change: 1 addition & 0 deletions news/PR3621.other
@@ -0,0 +1 @@
List items in RSS feed starting from the most recent
1 change: 1 addition & 0 deletions news/mattia.verga.author
@@ -0,0 +1 @@
Mattia Verga