diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-01-25 11:55:12 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-01-25 11:55:12 -0500 |
commit | e506648cbcda0b6021cf0a3b5e2f6381d8f1d0ea (patch) | |
tree | cbb12b785f0ef33e725ef24a277fef7a682af5ff /app/Model/SubTask.php | |
parent | 655d75a3cf154d14b10ffbf2baa42a549cf214f7 (diff) |
Do not show inactive projects info on the dashboard and update picodb (merge #546)
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) |