summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorOlivier Maridat <olivier.maridat@trialog.com>2015-07-03 13:33:49 +0200
committerOlivier Maridat <olivier.maridat@trialog.com>2015-07-03 13:33:49 +0200
commitd3f3669840d239299789352a98442412d59f539b (patch)
tree62245623c22d34e277545d9231157527e77e551b /app
parent747b9434d3ef82f55d96185c5afa6d155642ba15 (diff)
Fix regression in the model for "Completed task" view
Diffstat (limited to 'app')
-rw-r--r--app/Model/TaskFinder.php4
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);
}
/**