Skip to content

Commit

Permalink
Merge pull request #89 from alldigitalrewards/DS-11113
Browse files Browse the repository at this point in the history
DS-11113 extend program collection request allowing published filter
  • Loading branch information
jmuto2 authored Aug 14, 2024
2 parents 63a5329 + 9fae283 commit 9aa8970
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Program/ProgramCollectionFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public function getFilterArray(): array
'name' => $this->nameFilter,
'organization' => $this->organizationFilter,
'active' => $this->activeFilter,
'published' => $this->publishedFilter,
'end_date' => $this->endDateFilter,
];
}
Expand All @@ -32,6 +33,7 @@ public function getFilterArray(): array
private $nameFilter = '';

private $activeFilter = '';
private $publishedFilter = '';

private $endDateFilter = '';

Expand Down Expand Up @@ -107,6 +109,16 @@ public function setActiveFilter(string $activeFilter): void
$this->activeFilter = $activeFilter;
}

public function getPublishedFilter(): string
{
return $this->publishedFilter;
}

public function setPublishedFilter(string $publishedFilter): void
{
$this->publishedFilter = $publishedFilter;
}

/**
* @return string
*/
Expand Down

0 comments on commit 9aa8970

Please sign in to comment.