guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Fix weather query.


From: Mathieu Othacehe
Subject: branch master updated: Fix weather query.
Date: Tue, 02 Feb 2021 08:49:12 -0500

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix-cuirass.

The following commit(s) were added to refs/heads/master by this push:
     new 485ed91  Fix weather query.
485ed91 is described below

commit 485ed9182b43e4a5ade2b689e09b815d55e7db02
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Tue Feb 2 14:48:36 2021 +0100

    Fix weather query.
    
    * src/cuirass/database.scm (db-get-builds): Add missing parens.
---
 src/cuirass/database.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cuirass/database.scm b/src/cuirass/database.scm
index a9a6aae..ae59c51 100644
--- a/src/cuirass/database.scm
+++ b/src/cuirass/database.scm
@@ -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)")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]