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

BugID: 664

Showing only trees with stoptime > now().
parent 498cdae4
Branches
No related tags found
No related merge requests found
...@@ -65,6 +65,7 @@ CREATE OR REPLACE FUNCTION getExecutableTrees(INT2) ...@@ -65,6 +65,7 @@ CREATE OR REPLACE FUNCTION getExecutableTrees(INT2)
WHERE t.treetype = TThierarchy WHERE t.treetype = TThierarchy
AND t.classif = $1 AND t.classif = $1
AND t.state between TSscheduled AND TSactive AND t.state between TSscheduled AND TSactive
AND t.stoptime > now()
ORDER BY t.starttime, t.treeID ORDER BY t.starttime, t.treeID
LOOP LOOP
RETURN NEXT vRecord; RETURN NEXT vRecord;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment