Skip to content

[0.29] Add default descending semver ordering to collection version search - #2602

Closed
MasonMines2006 wants to merge 1 commit into
pulp:0.29from
MasonMines2006:backport-2571-to-0.29
Closed

[0.29] Add default descending semver ordering to collection version search#2602
MasonMines2006 wants to merge 1 commit into
pulp:0.29from
MasonMines2006:backport-2571-to-0.29

Conversation

@MasonMines2006

Copy link
Copy Markdown
Contributor

Backport of #2571 to 0.29.

Fixes: AAP-78435

The cross-repo search endpoint returns versions in arbitrary order
when no order_by parameter is passed. Add default descending version
ordering in get_queryset so versions display newest-first. Explicit
order_by and full-text search ordering replace it.

Fixes: AAP-78435

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
(cherry picked from commit b8794ef)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants