Fix some instability in the lint warnings page results

The ordering could flip around, so fix it better.
This commit is contained in:
Christopher Baines 2020-01-02 21:19:43 +00:00
parent 4492b9b69d
commit 4ed14007c4

View file

@ -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