mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 11:33:49 +00:00
[FEATURE] implement user filter in orderFilterHelper for tasks
This commit is contained in:
@@ -299,6 +299,7 @@ final class SingleTaskController extends AbstractController
|
||||
$this->denyAccessUnlessGranted(TaskVoter::SHOW, null);
|
||||
|
||||
$filterOrder = $this->buildFilterOrder();
|
||||
|
||||
$flags = array_merge(
|
||||
$filterOrder->getCheckboxData('status'),
|
||||
array_map(static fn ($i) => 'state_' . $i, $filterOrder->getCheckboxData('states'))
|
||||
@@ -680,6 +681,7 @@ final class SingleTaskController extends AbstractController
|
||||
->addSearchBox()
|
||||
->addCheckbox('status', $statuses, $statuses, $statusTrans)
|
||||
->addCheckbox('states', $states, ['new', 'in_progress'])
|
||||
->addUserPickers('userPicker', 'userPicker', ['multiple' => True])
|
||||
->build();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user