diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Model/TaskFinder.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/TaskFinder.php b/app/Model/TaskFinder.php index f061cef0..b91f4bad 100644 --- a/app/Model/TaskFinder.php +++ b/app/Model/TaskFinder.php @@ -22,8 +22,8 @@ class TaskFinder extends Base public function getClosedTaskQuery($project_id) { return $this->getExtendedQuery() - ->eq('project_id', $project_id) - ->eq('is_active', Task::STATUS_CLOSED); + ->eq(Task::TABLE.'.project_id', $project_id) + ->eq(Task::TABLE.'.is_active', Task::STATUS_CLOSED); } /** |