diff options
Diffstat (limited to 'app/Model/SubTask.php')
-rw-r--r-- | app/Model/SubTask.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Model/SubTask.php b/app/Model/SubTask.php index e5b03ab0..3fccad47 100644 --- a/app/Model/SubTask.php +++ b/app/Model/SubTask.php @@ -101,6 +101,7 @@ class SubTask extends Base Project::TABLE.'.name AS project_name' ) ->eq('user_id', $user_id) + ->eq(Project::TABLE.'.is_active', Project::ACTIVE) ->in(SubTask::TABLE.'.status', $status) ->join(Task::TABLE, 'id', 'task_id') ->join(Project::TABLE, 'id', 'project_id', Task::TABLE) |