feat: update filter value to be inversed
closes #869bhe07h
This commit is contained in:
@@ -51,8 +51,8 @@ class AssignmentFilterHandler extends AbstractFilterHandler
|
||||
if (isset($data['country'])) {
|
||||
$filterDto->setCountry($data['country']);
|
||||
}
|
||||
if (isset($data['synced_with_bus_pro_net'])) {
|
||||
$filterDto->setSyncedWithBusProNet((bool) $data['synced_with_bus_pro_net']);
|
||||
if (isset($data['not_synced_with_bus_pro_net'])) {
|
||||
$filterDto->setNotSyncedWithBusProNet((bool) $data['not_synced_with_bus_pro_net']);
|
||||
}
|
||||
|
||||
return $filterDto;
|
||||
@@ -73,7 +73,7 @@ class AssignmentFilterHandler extends AbstractFilterHandler
|
||||
'status' => $filterDto->getStatus(),
|
||||
'include_past' => $filterDto->isIncludePast(),
|
||||
'country' => $filterDto->getCountry(),
|
||||
'synced_with_bus_pro_net' => $filterDto->isSyncedWithBusProNet(),
|
||||
'not_synced_with_bus_pro_net' => $filterDto->isNotSyncedWithBusProNet(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user