From d3f3669840d239299789352a98442412d59f539b Mon Sep 17 00:00:00 2001 From: Olivier Maridat Date: Fri, 3 Jul 2015 13:33:49 +0200 Subject: Fix regression in the model for "Completed task" view --- app/Model/TaskFinder.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Model/TaskFinder.php') 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); } /** -- cgit v1.2.3