Review TYPO3_8-7 Merged

54058[BUGFIX] Make Extbase pagination work with QueryBuilder queries

Christian Kuhn CR +2 V +2 Easy +23 −3 updated 09/09/17, 13:11

Commit message

Now you can pass a query built by QueryBuilder to $query->statement(),
and use the QueryResult for pagination.

So inside repository you can create custom query like:

$queryBuilder->select('*')->...
$query = $this->createQuery();
$query->statement($queryBuilder);
return $query->execute();

and pass the result to paginate ViewHelper.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3