Skip to content
Snippets Groups Projects
Unverified Commit 485ed918 authored by Mathieu Othacehe's avatar Mathieu Othacehe
Browse files

Fix weather query.

* src/cuirass/database.scm (db-get-builds): Add missing parens.
parent 8bdc7ee5
No related branches found
No related tags found
No related merge requests found
......@@ -1014,7 +1014,7 @@ CASE WHEN CAST(:borderlowid AS integer) IS NULL THEN
. ,(match (assq-ref filters 'weather)
(#f #f)
('all "Builds.weather >= 0")
('new "Builds.weather = 0 OR Builds.weather = 1")))
('new "(Builds.weather = 0 OR Builds.weather = 1)")))
(border-low-time
. "(((:borderlowtime, :borderlowid) < (Builds.stoptime, Builds.id))
OR :borderlowtime IS NULL OR :borderlowid IS NULL)")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment