Skip to content

Commit

Permalink
Fix broken updates list pagination
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Verga <[email protected]>
(cherry picked from commit 2510b53)
  • Loading branch information
mattiaverga authored and mergify[bot] committed Oct 5, 2024
1 parent 642d59e commit a37559f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bodhi-server/bodhi/server/services/updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def query_updates(request):
query = query.offset(rows_per_page * (page - 1)).limit(rows_per_page)

return_values = dict(
updates=query.all(),
updates=query.distinct().all(),
page=page,
pages=pages,
rows_per_page=rows_per_page,
Expand Down
1 change: 1 addition & 0 deletions news/5738.bug
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed broken pagination for listing updates in webUI and JSON

0 comments on commit a37559f

Please sign in to comment.