From 4ed14007c44f55869d30358b6da2235069dfcaf9 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 2 Jan 2020 21:19:43 +0000 Subject: [PATCH] Fix some instability in the lint warnings page results The ordering could flip around, so fix it better. --- guix-data-service/model/lint-warning.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix-data-service/model/lint-warning.scm b/guix-data-service/model/lint-warning.scm index 3ef516b..00428f1 100644 --- a/guix-data-service/model/lint-warning.scm +++ b/guix-data-service/model/lint-warning.scm @@ -100,7 +100,7 @@ INNER JOIN lint_warning_messages #f " AND to_tsvector(lint_warning_messages.message) @@ plainto_tsquery($~A)" (if package-query "3" "2")) "") - " ORDER BY packages.name")) + " ORDER BY packages.name, packages.version, lint_checkers.name, lint_warnings.id")) (exec-query conn query `(,commit-hash ,@(if package-query