diff options
| author | Mathieu Othacehe <m.othacehe@gmail.com> | 2018-04-23 09:50:31 +0200 |
|---|---|---|
| committer | Mathieu Othacehe <mathieu.othacehe@parrot.com> | 2018-04-23 11:28:37 +0200 |
| commit | 85a373f639376307156510bbf24ec2fa30da5acd (patch) | |
| tree | 68ed907576e7bb1cf6517f65652282c94ce80e4d | |
| parent | http: Add /api/evaluations route. (diff) | |
| download | cuirass-85a373f639376307156510bbf24ec2fa30da5acd.tar.gz | |
http: Reverse evaluations list.
* src/cuirass/database.scm (db-get-evaluations): Reverse returned evaluations
list.
| -rw-r--r-- | src/cuirass/database.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuirass/database.scm b/src/cuirass/database.scm index 8437475..a1398bc 100644 --- a/src/cuirass/database.scm +++ b/src/cuirass/database.scm @@ -548,7 +548,7 @@ INSERT INTO Stamps (specification, stamp) VALUES (" FROM Evaluations ORDER BY id DESC LIMIT " limit ";")) (evaluations '())) (match rows - (() evaluations) + (() (reverse evaluations)) ((#(id specification revision) . rest) (loop rest |
