feat: filter assignments by id
This commit is contained in:
@@ -18,6 +18,9 @@ class AssignmentFilterHandler extends AbstractFilterHandler
|
||||
|
||||
$filterDto = new AssignmentFilterDto();
|
||||
|
||||
if (isset($data['id'])) {
|
||||
$filterDto->setId($data['id']);
|
||||
}
|
||||
if (isset($data['date_from'])) {
|
||||
$filterDto->setDateFrom($data['date_from']);
|
||||
}
|
||||
@@ -52,6 +55,7 @@ class AssignmentFilterHandler extends AbstractFilterHandler
|
||||
{
|
||||
/** @var AssignmentFilterDto $filterDto */
|
||||
$this->getSession()->set($this->namespace, [
|
||||
'id' => $filterDto->getId(),
|
||||
'date_from' => $filterDto->getDateFrom(),
|
||||
'date_to' => $filterDto->getDateTo(),
|
||||
'job_profiles' => array_map(function (JobProfile $jobProfile) {
|
||||
|
||||
Reference in New Issue
Block a user