From 1983fc5f7afa20b5ddba0ad1fb63fb92f563deb6 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 19 Aug 2015 21:12:17 -0400 Subject: Show all tasks when using no search criteria --- 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 8da4a214..e8926b52 100644 --- a/app/Model/TaskFilter.php +++ b/app/Model/TaskFilter.php @@ -36,7 +36,7 @@ class TaskFilter extends Base $this->query = $this->taskFinder->getExtendedQuery(); if (empty($tree)) { - $this->query->addCondition('1 = 0'); + $this->filterByTitle($input); } foreach ($tree as $filter => $value) { -- cgit v1.2.3