Change the sort order for derivations on the package version page

Put the non-cross built derivations first.
This commit is contained in:
Christopher Baines 2020-03-21 10:54:57 +00:00
parent 7d2309d344
commit e108ed34e2

View file

@ -169,7 +169,7 @@ GROUP BY derivations.system,
package_derivations.target, package_derivations.target,
derivations.file_name derivations.file_name
ORDER BY derivations.system DESC, ORDER BY derivations.system DESC,
package_derivations.target DESC, NULLIF(package_derivations.target, '') DESC NULLS FIRST,
derivations.file_name") derivations.file_name")
(map (match-lambda (map (match-lambda