aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-08-27 10:06:18 +0200
committerLudovic Courtès <ludo@gnu.org>2019-08-27 10:06:18 +0200
commit3d494b89738d5bd65b7b6dbc3cfbb507a34372db (patch)
tree73ae1c0a57cb53a16b027aeda3b040ba7e09bebe /src
parent1cd2f9334dde13542732c22753c4ebde61bc95e0 (diff)
downloadcuirass-3d494b89738d5bd65b7b6dbc3cfbb507a34372db.tar
cuirass-3d494b89738d5bd65b7b6dbc3cfbb507a34372db.tar.gz
http: Pass 'build-eval-table' a list, not a vector.
* src/cuirass/http.scm (url-handler): Call 'vector->list' on the result of 'handle-builds-request', as expected by 'build-eval-table'.
Diffstat (limited to 'src')
-rw-r--r--src/cuirass/http.scm19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/cuirass/http.scm b/src/cuirass/http.scm
index d87bcb3..671a14d 100644
--- a/src/cuirass/http.scm
+++ b/src/cuirass/http.scm
@@ -415,15 +415,16 @@ Hydra format."
(div (@ (class "tab-pane show active"))
,(build-eval-table
id
- (handle-builds-request
- `((evaluation . ,id)
- (status . ,(and=> status string->symbol))
- (nr . ,%page-size)
- (order . finish-time+build-id)
- (border-high-time . ,border-high-time)
- (border-low-time . ,border-low-time)
- (border-high-id . ,border-high-id)
- (border-low-id . ,border-low-id)))
+ (vector->list
+ (handle-builds-request
+ `((evaluation . ,id)
+ (status . ,(and=> status string->symbol))
+ (nr . ,%page-size)
+ (order . finish-time+build-id)
+ (border-high-time . ,border-high-time)
+ (border-low-time . ,border-low-time)
+ (border-high-id . ,border-high-id)
+ (border-low-id . ,border-low-id))))
builds-id-min
builds-id-max
status))))