diff options
-rw-r--r-- | app/ServiceProvider/FilterProvider.php | 4 | ||||
-rw-r--r-- | doc/search.markdown | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/app/ServiceProvider/FilterProvider.php b/app/ServiceProvider/FilterProvider.php index 1684592b..1cc4da8a 100644 --- a/app/ServiceProvider/FilterProvider.php +++ b/app/ServiceProvider/FilterProvider.php @@ -14,6 +14,7 @@ use Kanboard\Filter\TaskCategoryFilter; use Kanboard\Filter\TaskColorFilter; use Kanboard\Filter\TaskColumnFilter; use Kanboard\Filter\TaskCommentFilter; +use Kanboard\Filter\TaskCompletionDateFilter; use Kanboard\Filter\TaskCreationDateFilter; use Kanboard\Filter\TaskCreatorFilter; use Kanboard\Filter\TaskDescriptionFilter; @@ -156,6 +157,9 @@ class FilterProvider implements ServiceProviderInterface ->withFilter(TaskStartDateFilter::getInstance() ->setDateParser($c['dateParser']) ) + ->withFilter(TaskCompletionDateFilter::getInstance() + ->setDateparser($c['dateParser']) + ) ->withFilter(new TaskIdFilter()) ->withFilter(TaskLinkFilter::getInstance() ->setDatabase($c['db']) diff --git a/doc/search.markdown b/doc/search.markdown index 17d27416..760551df 100644 --- a/doc/search.markdown +++ b/doc/search.markdown @@ -106,6 +106,10 @@ Attribute: **description** or **desc** Example: `description:"text search"` +### Search by completion + +Attribute: **completed** + ### Search by external reference The task reference is an external id of your task, by example a ticket number from another software. |