summaryrefslogtreecommitdiff
path: root/app/ServiceProvider/FilterProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/ServiceProvider/FilterProvider.php')
-rw-r--r--app/ServiceProvider/FilterProvider.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/ServiceProvider/FilterProvider.php b/app/ServiceProvider/FilterProvider.php
index 392c6c92..5f90e400 100644
--- a/app/ServiceProvider/FilterProvider.php
+++ b/app/ServiceProvider/FilterProvider.php
@@ -148,7 +148,9 @@ class FilterProvider implements ServiceProviderInterface
)
->withFilter(new TaskPriorityFilter())
->withFilter(new TaskColumnFilter())
- ->withFilter(new TaskCommentFilter())
+ ->withFilter(TaskCommentFilter::getInstance()
+ ->setDatabase($c['db'])
+ )
->withFilter(TaskCreationDateFilter::getInstance()
->setDateParser($c['dateParser'])
)
@@ -186,7 +188,7 @@ class FilterProvider implements ServiceProviderInterface
)
->withFilter(TaskMovedDateRangeFilter::getInstance()
->setDateParser($c['dateParser'])
- )
+ )
->withFilter(new TaskProjectFilter())
->withFilter(new TaskReferenceFilter())
->withFilter(new TaskScoreFilter())