aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-03-24 20:17:00 +0000
committerChristopher Baines <mail@cbaines.net>2020-03-24 20:17:00 +0000
commit96bf658dfcd185578e30778e4f149067c78b7fbc (patch)
treecadba1ae7ea369dd434e4ee9e2c3829e8b1d7049 /guix-data-service/model
parentf87583016e9141673afd0fc39da20f175e367c12 (diff)
downloaddata-service-96bf658dfcd185578e30778e4f149067c78b7fbc.tar
data-service-96bf658dfcd185578e30778e4f149067c78b7fbc.tar.gz
Fix the date ordering on the package output history page
Diffstat (limited to 'guix-data-service/model')
-rw-r--r--guix-data-service/model/package.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/model/package.scm b/guix-data-service/model/package.scm
index c7e423b..f484fab 100644
--- a/guix-data-service/model/package.scm
+++ b/guix-data-service/model/package.scm
@@ -411,7 +411,7 @@ FROM (
AND last_git_branches.name = $3
AND package_derivations_by_guix_revision_range.system = $5
AND package_derivations_by_guix_revision_range.target = $6
- ORDER BY first_datetime DESC, package_version DESC
+ ORDER BY first_datetime ASC, package_version DESC
) AS data1
WINDOW path_window AS (PARTITION BY path)
) AS data2