mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Merge branch '374-task-default-filters' into 'master'
Resolve "Module tâche: enlever les filtres par défaut" Closes #374 See merge request Chill-Projet/chill-bundles!819
This commit is contained in:
commit
483a20a43f
6
.changes/unreleased/UX-20250423-172624.yaml
Normal file
6
.changes/unreleased/UX-20250423-172624.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
kind: UX
|
||||||
|
body: Remove default filter in_progress for the page 'my tasks'; Allows for new tasks to be displayed upon opening of the page
|
||||||
|
time: 2025-04-23T17:26:24.45777387+02:00
|
||||||
|
custom:
|
||||||
|
Issue: "374"
|
||||||
|
SchemaChange: No schema change
|
@ -624,7 +624,7 @@ final class SingleTaskController extends AbstractController
|
|||||||
->addCheckbox('status', $statuses, $statuses, $statusTrans);
|
->addCheckbox('status', $statuses, $statuses, $statusTrans);
|
||||||
|
|
||||||
$states = $this->singleTaskStateRepository->findAllExistingStates();
|
$states = $this->singleTaskStateRepository->findAllExistingStates();
|
||||||
$checked = array_values(array_filter($states, fn (string $state) => !in_array($state, ['closed', 'canceled', 'validated'], true)));
|
$checked = array_values(array_filter($states, fn (string $state) => !in_array($state, ['in_progress', 'closed', 'canceled', 'validated'], true)));
|
||||||
|
|
||||||
if ([] !== $states) {
|
if ([] !== $states) {
|
||||||
$filterBuilder
|
$filterBuilder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user