Skip to content

Commit

Permalink
Fixes 4015: Force order by issued-date desc
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewgdewar committed Apr 24, 2024
1 parent b9362eb commit 946af67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tangy/rpm.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ func (t *tangyImpl) RpmRepositoryVersionErrataList(ctx context.Context, hrefs []
args["limit"] = pageOpts.Limit
args["offset"] = pageOpts.Offset
rows, err := conn.Query(ctx, queryOpen+innerUnion+filterQuery+
" ORDER BY re.id ASC, re.title ASC, re.issued_date ASC, re.type ASC, re.severity ASC LIMIT @limit OFFSET @offset",
" ORDER BY re.issued_date DESC, re.title ASC, re.type ASC, re.severity ASC LIMIT @limit OFFSET @offset",
args)
if err != nil {
return nil, 0, err
Expand Down

0 comments on commit 946af67

Please sign in to comment.