diff options
author | lordweed92 <martinpelke@gmx.de> | 2016-09-15 01:54:42 +0200 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2016-09-14 19:54:42 -0400 |
commit | 521c0ddcb558e7dadc973396e6a02918f35c1254 (patch) | |
tree | fca06d6490a687f623e7909ef0a7dd1d376f732a | |
parent | aa9a8616481cf4002d16457b8350f544dfdb37bf (diff) |
Added the actual use of TaskStartDateFilter (#2669)
modified the function createTaskFilter to use the TaskStartDateFilter
-rw-r--r-- | app/ServiceProvider/FilterProvider.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/ServiceProvider/FilterProvider.php b/app/ServiceProvider/FilterProvider.php index 443d3588..1684592b 100644 --- a/app/ServiceProvider/FilterProvider.php +++ b/app/ServiceProvider/FilterProvider.php @@ -18,6 +18,7 @@ use Kanboard\Filter\TaskCreationDateFilter; use Kanboard\Filter\TaskCreatorFilter; use Kanboard\Filter\TaskDescriptionFilter; use Kanboard\Filter\TaskDueDateFilter; +use Kanboard\Filter\TaskStartDateFilter; use Kanboard\Filter\TaskIdFilter; use Kanboard\Filter\TaskLinkFilter; use Kanboard\Filter\TaskModificationDateFilter; @@ -152,6 +153,9 @@ class FilterProvider implements ServiceProviderInterface ->withFilter(TaskDueDateFilter::getInstance() ->setDateParser($c['dateParser']) ) + ->withFilter(TaskStartDateFilter::getInstance() + ->setDateParser($c['dateParser']) + ) ->withFilter(new TaskIdFilter()) ->withFilter(TaskLinkFilter::getInstance() ->setDatabase($c['db']) |