Skip to content

[0.25] Add default descending semver ordering to collection version search - #2601

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

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

Conversation

@MasonMines2006

Copy link
Copy Markdown
Contributor

Backport of #2571 to 0.25.

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)
@MasonMines2006

Copy link
Copy Markdown
Contributor Author

/retest

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