Skip to content
Snippets Groups Projects
Commit b61b88a7 authored by Ruud Overeem's avatar Ruud Overeem
Browse files

Bug 1000: slightly different query for active list.

parent 083fb863
No related merge requests found
......@@ -59,6 +59,8 @@ CREATE OR REPLACE FUNCTION getTreeGroup(INT, INT)
ELSE
IF $1 = 2 THEN
vQuery := \' AND t.starttime <= now() AND t.stoptime > now() \';
vQuery := vQuery || \' AND t.state > \' || TSscheduled;
vQuery := vQuery || \' AND t.state < \' || TSfinished;
ELSE
IF $1 = 3 THEN
vQuery := \' AND t.state >= \' || TSfinished;
......
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