diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-08-19 21:12:17 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-08-19 21:12:17 -0400 |
commit | 1983fc5f7afa20b5ddba0ad1fb63fb92f563deb6 (patch) | |
tree | 1e81a44c631b0144b24c4548c3cdd8630657ac3e /app/Model | |
parent | 57bd53847cfd01d414728c871512ef2af123ffd5 (diff) |
Show all tasks when using no search criteria
Diffstat (limited to 'app/Model')
-rw-r--r-- | app/Model/TaskFilter.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |