Sub-tasks from the hidden columns still visible on the dashboard (#3040)
This commit is contained in:
parent
ce3cab5374
commit
d6d1df2917
|
|
@ -5,6 +5,10 @@ Improvements:
|
|||
|
||||
* Use contextual menu instead of action column in users management
|
||||
|
||||
Bug fixes:
|
||||
|
||||
* Hiding subtasks from hidden tasks in dashboard
|
||||
|
||||
Version 1.0.39 (Feb 12, 2017)
|
||||
-----------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -90,9 +90,11 @@ class SubtaskModel extends Base
|
|||
->subquery($this->subtaskTimeTrackingModel->getTimerQuery($user_id), 'timer_start_date')
|
||||
->eq('user_id', $user_id)
|
||||
->eq(ProjectModel::TABLE.'.is_active', ProjectModel::ACTIVE)
|
||||
->eq(ColumnModel::TABLE.'.hide_in_dashboard', 0)
|
||||
->in(SubtaskModel::TABLE.'.status', $status)
|
||||
->join(TaskModel::TABLE, 'id', 'task_id')
|
||||
->join(ProjectModel::TABLE, 'id', 'project_id', TaskModel::TABLE)
|
||||
->join(ColumnModel::TABLE, 'id', 'column_id', TaskModel::TABLE)
|
||||
->callback(array($this, 'addStatusName'));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue