From b1f3e1ae8382c245b4431047b658e5e6dd26a6db Mon Sep 17 00:00:00 2001 From: Christopher Bennett Date: Mon, 21 Aug 2023 15:10:04 +0100 Subject: [PATCH] Fix bug with SQL query for analysis view (#483) --- cylc/uiserver/schema.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cylc/uiserver/schema.py b/cylc/uiserver/schema.py index c49eb42b..bda243e7 100644 --- a/cylc/uiserver/schema.py +++ b/cylc/uiserver/schema.py @@ -381,9 +381,9 @@ def make_query(conn, workflow): STRFTIME('%s', time_run) - STRFTIME('%s', time_submit) AS queue_time FROM - task_jobs)) -WHERE - run_status = 0 + task_jobs + WHERE + run_status = 0)) GROUP BY name; '''):