Review main Merged

53409[BUGFIX] Make Extbase pagination work with QueryBuilder queries

Tymoteusz Motylewski CR +2 V +2 Easy +23 −3 updated 09/18/17, 07:09

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