summaryrefslogtreecommitdiff
path: root/app/ServiceProvider
diff options
context:
space:
mode:
authorYannick Armand <yannick.armand@protonmail.com>2017-10-14 20:31:41 +0200
committerfguillot <fred@kanboard.net>2017-10-16 10:53:35 -0700
commita53ead7e74924579db243bc43125ac52aeb86b91 (patch)
tree92656292f0311ed2604b6277a55663f3b1cdc4dd /app/ServiceProvider
parent90e291a0e65cb52888d0d02b42f337b1e7b998d0 (diff)
Add filter by score/complexity
Diffstat (limited to 'app/ServiceProvider')
-rw-r--r--app/ServiceProvider/FilterProvider.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/ServiceProvider/FilterProvider.php b/app/ServiceProvider/FilterProvider.php
index 1cc4da8a..11a29e69 100644
--- a/app/ServiceProvider/FilterProvider.php
+++ b/app/ServiceProvider/FilterProvider.php
@@ -27,6 +27,7 @@ use Kanboard\Filter\TaskMovedDateFilter;
use Kanboard\Filter\TaskPriorityFilter;
use Kanboard\Filter\TaskProjectFilter;
use Kanboard\Filter\TaskReferenceFilter;
+use Kanboard\Filter\TaskScoreFilter;
use Kanboard\Filter\TaskStatusFilter;
use Kanboard\Filter\TaskSubtaskAssigneeFilter;
use Kanboard\Filter\TaskSwimlaneFilter;
@@ -172,6 +173,7 @@ class FilterProvider implements ServiceProviderInterface
)
->withFilter(new TaskProjectFilter())
->withFilter(new TaskReferenceFilter())
+ ->withFilter(new TaskScoreFilter())
->withFilter(new TaskStatusFilter())
->withFilter(TaskSubtaskAssigneeFilter::getInstance()
->setCurrentUserId($c['userSession']->getId())