Skip to content

Commit edb9882

Browse files
committed
fix(workflowengine): GROUP BY alias not cast expression (SQL)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 64cfcaa commit edb9882

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/workflowengine/lib/Manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function getAllConfiguredEvents(): array {
128128
->selectAlias($query->expr()->castColumn('events', IQueryBuilder::PARAM_STR), 'events')
129129
->from('flow_operations')
130130
->where($query->expr()->neq('events', $query->createNamedParameter('[]'), IQueryBuilder::PARAM_STR))
131-
->groupBy('class', 'entity', $query->expr()->castColumn('events', IQueryBuilder::PARAM_STR));
131+
->groupBy('class', 'entity', 'events');
132132

133133
$result = $query->executeQuery();
134134
$operations = [];

0 commit comments

Comments
 (0)