Show all tasks when using no search criteria

This commit is contained in:
Frederic Guillot
2015-08-19 21:12:17 -04:00
parent 57bd53847c
commit 1983fc5f7a
3 changed files with 20 additions and 1 deletions

View File

@@ -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) {