summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/TaskFilter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/TaskFilter.php b/app/Model/TaskFilter.php
index 1fdf0a50..134f67cd 100644
--- a/app/Model/TaskFilter.php
+++ b/app/Model/TaskFilter.php
@@ -68,7 +68,7 @@ class TaskFilter extends Base
*/
public function excludeTasks(array $task_ids)
{
- $this->query->notin('id', $task_ids);
+ $this->query->notin(Task::TABLE.'.id', $task_ids);
return $this;
}
@@ -82,7 +82,7 @@ class TaskFilter extends Base
public function filterById($task_id)
{
if ($task_id > 0) {
- $this->query->eq('id', $task_id);
+ $this->query->eq(Task::TABLE.'.id', $task_id);
}
return $this;