Korrigiere Durchfuehrungslistenabfrage
This commit is contained in:
1 parent
bb2ddb388e
commit
d0240ddfab
1 file changed
+1
-1
@@ -279,7 +279,7 @@ function market_management_search_occurrences(PDO $pdo, array $input): array
|
||||
INNER JOIN market_category c ON c.id = m.category_id
|
||||
LEFT JOIN market_occurrence_day d ON d.occurrence_id = o.id
|
||||
WHERE ' . ($where === [] ? 'TRUE' : implode(' AND ', $where)) . '
|
||||
GROUP BY o.id, m.name, c.code, c.name
|
||||
GROUP BY o.id, m.name, m.category_id, c.code, c.name
|
||||
ORDER BY earliest_date NULLS LAST, o.id ASC
|
||||
LIMIT :limit OFFSET :offset'
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user