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'.
This commit is contained in:
Ludovic Courtès 2019-08-27 10:06:18 +02:00
parent 1cd2f9334d
commit 3d494b8973
1 changed files with 10 additions and 9 deletions

View File

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