Skip to content

Commit 0577839

Browse files
committed
IBX-10458: Fixup
1 parent a6f4b0f commit 0577839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Persistence/Legacy/Content/Type/Gateway/DoctrineDatabase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1496,7 +1496,7 @@ public function findContentTypes(?ContentTypeQuery $query = null): array
14961496

14971497
$joinedQueryBuilder = $this->getLoadTypeQueryBuilder();
14981498
$joinedQueryBuilder
1499-
->andWhere($joinedQueryBuilder->expr()->in('ezcontentclass_id', ':contentTypeIds'))
1499+
->andWhere($joinedQueryBuilder->expr()->in('c.id', ':contentTypeIds'))
15001500
->setParameter('contentTypeIds', $contentTypeIds, Connection::PARAM_INT_ARRAY);
15011501

15021502
foreach ($query->getSortClauses() as $sortClause) {

0 commit comments

Comments
 (0)