Korrigiere Durchfuehrungsfilter
This commit is contained in:
1 parent
9bde337506
commit
bb2ddb388e
1 file changed
-1
@@ -242,7 +242,6 @@ function market_management_search_occurrences(PDO $pdo, array $input): array
|
||||
$where = [];
|
||||
$params = [':limit' => min(100, max(1, (int) ($input['limit'] ?? 50))), ':offset' => max(0, (int) ($input['offset'] ?? 0))];
|
||||
$includeArchived = (bool) ($input['include_archived'] ?? false);
|
||||
$params[':include_archived'] = $includeArchived;
|
||||
if (!$includeArchived) {
|
||||
$where[] = 'o.archived_at IS NULL';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user