summaryrefslogtreecommitdiff
path: root/app/Controller/Projectinfo.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Projectinfo.php')
-rw-r--r--app/Controller/Projectinfo.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/app/Controller/Projectinfo.php b/app/Controller/Projectinfo.php
index c30c1652..22b9861c 100644
--- a/app/Controller/Projectinfo.php
+++ b/app/Controller/Projectinfo.php
@@ -45,12 +45,8 @@ class Projectinfo extends Base
->setDirection('DESC');
if ($search !== '') {
-
- // $paginator
- // ->setQuery($this->taskFinder->getSearchQuery($project['id'], $search))
- // ->calculate();
-
- $paginator->setQuery($this->taskFilter->search($search)->filterByProject($project['id'])->getQuery())->calculate();
+ $paginator->setQuery($this->taskFilter->search($search)->filterByProject($project['id'])->getQuery())
+ ->calculate();
$nb_tasks = $paginator->getTotal();
}