summaryrefslogtreecommitdiff
path: root/app/Model/SubtaskForecast.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/SubtaskForecast.php')
-rw-r--r--app/Model/SubtaskForecast.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Model/SubtaskForecast.php b/app/Model/SubtaskForecast.php
index 5daee56b..cb86f6d7 100644
--- a/app/Model/SubtaskForecast.php
+++ b/app/Model/SubtaskForecast.php
@@ -29,6 +29,7 @@ class SubtaskForecast extends Base
->asc(Task::TABLE.'.position')
->asc(Subtask::TABLE.'.position')
->gt(Subtask::TABLE.'.time_estimated', 0)
+ ->eq(Subtask::TABLE.'.status', Subtask::STATUS_TODO)
->eq(Subtask::TABLE.'.user_id', $user_id)
->findAll();
}