diff --git a/src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php b/src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php index ba67b62c4..f52d678df 100644 --- a/src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php +++ b/src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php @@ -687,8 +687,6 @@ final class SingleTaskController extends AbstractController 'Tasks over deadline', ]; - $missionTypes = ['fsl', 'ispah', 'diagnostic_maintien', 'social_help', 'ni', 'diagnostic_acces']; - $filterBuilder = $this->filterOrderHelperFactory ->create(self::class) ->addSearchBox() @@ -708,6 +706,7 @@ final class SingleTaskController extends AbstractController } if ($includeMissionType) { + $missionTypes = $this->getParameter('task_types'); $filterBuilder->addCheckbox('missionTypePicker', $missionTypes); }