diff options
Diffstat (limited to 'app/Controller/Search.php')
-rw-r--r-- | app/Controller/Search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Search.php b/app/Controller/Search.php index 08dda1c8..0aff9073 100644 --- a/app/Controller/Search.php +++ b/app/Controller/Search.php @@ -22,7 +22,7 @@ class Search extends Base ->setOrder('tasks.id') ->setDirection('DESC'); - if ($search !== '') { + if ($search !== '' && ! empty($projects)) { $query = $this ->taskFilter ->search($search) |