mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-10 01:39:52 +00:00
Remove 'to_validate' as default for task filter
This commit is contained in:
parent
fe6e6e54c1
commit
56ec8fb516
@ -624,8 +624,7 @@ final class SingleTaskController extends AbstractController
|
||||
->addCheckbox('status', $statuses, $statuses, $statusTrans);
|
||||
|
||||
$states = $this->singleTaskStateRepository->findAllExistingStates();
|
||||
$checked = array_values(array_filter($states, fn (string $state) => !in_array($state, ['in_progress', 'closed', 'canceled', 'validated'], true)));
|
||||
|
||||
$checked = array_values(array_filter($states, fn (string $state) => !in_array($state, ['to_validate', 'in_progress', 'closed', 'canceled', 'validated'], true)));
|
||||
if ([] !== $states) {
|
||||
$filterBuilder
|
||||
->addCheckbox('states', $states, $checked);
|
||||
|
Loading…
x
Reference in New Issue
Block a user