feat: update filter value to be inversed

closes #869bhe07h
This commit is contained in:
Björn Fromme
2025-12-18 10:57:45 +01:00
parent 6eee6ca4bd
commit 83648ac892
5 changed files with 13 additions and 13 deletions
+5 -5
View File
@@ -18,7 +18,7 @@ class AssignmentFilterDto extends AbstractFilterDto
protected array $status = [];
protected bool $includePast = false;
protected ?string $country = null;
protected bool $syncedWithBusProNet = false;
protected bool $notSyncedWithBusProNet = false;
public function getId(): ?int
{
@@ -128,14 +128,14 @@ class AssignmentFilterDto extends AbstractFilterDto
return $this;
}
public function isSyncedWithBusProNet(): bool
public function isNotSyncedWithBusProNet(): bool
{
return $this->syncedWithBusProNet;
return $this->notSyncedWithBusProNet;
}
public function setSyncedWithBusProNet(bool $syncedWithBusProNet): static
public function setNotSyncedWithBusProNet(bool $notSyncedWithBusProNet): static
{
$this->syncedWithBusProNet = $syncedWithBusProNet;
$this->notSyncedWithBusProNet = $notSyncedWithBusProNet;
return $this;
}