From 6efac784fcc1a2e83bb7b43fc7841448b5975cba Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 24 Jun 2015 20:39:06 -0400 Subject: Add timer for subtasks and remove settings for subtask time tracking --- app/Model/TaskFilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Model/TaskFilter.php') diff --git a/app/Model/TaskFilter.php b/app/Model/TaskFilter.php index 3d58c060..e99f36fb 100644 --- a/app/Model/TaskFilter.php +++ b/app/Model/TaskFilter.php @@ -301,7 +301,7 @@ class TaskFilter extends Base */ public function toAutoCompletion() { - return $this->query->columns('id', 'title')->filter(function(array $results) { + return $this->query->columns('id', 'title')->callback(function(array $results) { foreach ($results as &$result) { $result['value'] = $result['title']; -- cgit v1.2.3