summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-19 21:12:17 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-19 21:12:17 -0400
commit1983fc5f7afa20b5ddba0ad1fb63fb92f563deb6 (patch)
tree1e81a44c631b0144b24c4548c3cdd8630657ac3e /app/Model
parent57bd53847cfd01d414728c871512ef2af123ffd5 (diff)
Show all tasks when using no search criteria
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/TaskFilter.php2
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) {