aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-08-06 10:33:00 +0100
committerChristopher Baines <mail@cbaines.net>2019-08-06 10:33:00 +0100
commit84ad3656df1374e0b9f4eb4b704b04cdf8f8bf87 (patch)
tree03d9206c01300135377d1efb4872afa6fec6cacc
parent89b498aad0d0a115b5720ea644b1a2ba48ba7f89 (diff)
downloaddata-service-84ad3656df1374e0b9f4eb4b704b04cdf8f8bf87.tar
data-service-84ad3656df1374e0b9f4eb4b704b04cdf8f8bf87.tar.gz
Alphabetically order the derivation comparison page
-rw-r--r--guix-data-service/comparison.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/comparison.scm b/guix-data-service/comparison.scm
index 19551a6..546f89c 100644
--- a/guix-data-service/comparison.scm
+++ b/guix-data-service/comparison.scm
@@ -90,7 +90,7 @@ WHERE
target_packages.id IS NULL OR
base_packages.id != target_packages.id OR
base_packages.file_name != target_packages.file_name
-ORDER BY base_packages.name DESC, base_packages.version, target_packages.name, target_packages.version"))
+ORDER BY coalesce(base_packages.name, target_packages.name) ASC, base_packages.version, target_packages.version"))
(exec-query conn query (list base_guix_revision_id target_guix_revision_id)))