Sort package versions on a branch by version as well
To fix the order when the first_datetime matches.
This commit is contained in:
parent
dbe171bc75
commit
ab8a02cf13
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ INNER JOIN git_branches AS last_git_branches
|
||||||
WHERE package_name = $1
|
WHERE package_name = $1
|
||||||
AND package_versions_by_guix_revision_range.git_repository_id = $2
|
AND package_versions_by_guix_revision_range.git_repository_id = $2
|
||||||
AND package_versions_by_guix_revision_range.branch_name = $3
|
AND package_versions_by_guix_revision_range.branch_name = $3
|
||||||
ORDER BY first_datetime DESC"
|
ORDER BY first_datetime DESC, package_version DESC"
|
||||||
(list package-name
|
(list package-name
|
||||||
(number->string git-repository-id)
|
(number->string git-repository-id)
|
||||||
branch-name)))
|
branch-name)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue