aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-08-27 10:12:12 +0200
committerLudovic Courtès <ludo@gnu.org>2019-08-27 10:12:12 +0200
commit6cf84a43bb6160e11ede96820a8bc563aa7461ef (patch)
tree488632b47872423c73f082ad336e66ef53a63a9c /src
parent3d494b89738d5bd65b7b6dbc3cfbb507a34372db (diff)
downloadcuirass-6cf84a43bb6160e11ede96820a8bc563aa7461ef.tar
cuirass-6cf84a43bb6160e11ede96820a8bc563aa7461ef.tar.gz
http: Pass 'build-search-results-table' a list, not a vector.
* src/cuirass/http.scm (url-handler): Call 'vector->list' on the result of 'handle-builds-search-request', as expected by 'build-search-results-table'.
Diffstat (limited to 'src')
-rw-r--r--src/cuirass/http.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/cuirass/http.scm b/src/cuirass/http.scm
index 671a14d..2da3637 100644
--- a/src/cuirass/http.scm
+++ b/src/cuirass/http.scm
@@ -447,12 +447,13 @@ Hydra format."
"Search results"
(build-search-results-table
query
- (handle-builds-search-request
- `((query . ,query)
- (nr . ,%page-size)
- (order . finish-time+build-id)
- (border-low-id . ,border-low-id)
- (border-high-id . ,border-high-id)))
+ (vector->list
+ (handle-builds-search-request
+ `((query . ,query)
+ (nr . ,%page-size)
+ (order . finish-time+build-id)
+ (border-low-id . ,border-low-id)
+ (border-high-id . ,border-high-id))))
builds-id-min
builds-id-max)
'()