aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-05-13 21:10:20 +0100
committerChristopher Baines <mail@cbaines.net>2019-05-13 21:10:20 +0100
commit721d21ed4dfb09ea8cc6d2f5c1bdf6cd515f383e (patch)
treedd961cda5542fa98d0ebe6d6399c0e86d022f6d3
parent7341d1725420b431160536c1cf2b34a662ff0a86 (diff)
downloaddata-service-721d21ed4dfb09ea8cc6d2f5c1bdf6cd515f383e.tar
data-service-721d21ed4dfb09ea8cc6d2f5c1bdf6cd515f383e.tar.gz
Order the all-git-repositories results
So at least they're stable.
-rw-r--r--guix-data-service/model/git-repository.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/model/git-repository.scm b/guix-data-service/model/git-repository.scm
index 16c57bf..2f96606 100644
--- a/guix-data-service/model/git-repository.scm
+++ b/guix-data-service/model/git-repository.scm
@@ -12,7 +12,7 @@
(exec-query
conn
(string-append
- "SELECT id, label, url FROM git_repositories")))
+ "SELECT id, label, url FROM git_repositories ORDER BY id ASC")))
(define (git-repository-id->url conn id)
(match