[TYPO3-mvc] widget.paginate only working with repository standard methods?

Jochen Rieger j.rieger at connecta.ag
Thu Jan 13 18:29:22 CET 2011


Hi Georg,

> Using the widget is really simple, just use it like in the comments stated

yes, in general it is working of cause.

But seemingly not when using an own repository method which implements a 
manually built SQL string like this:

$query = $this->createQuery();
$query->statement ($myManuallyComposedSql);
return $query->execute();

The SQL string itself did not contain any sql LIMIT param. It is just a 
rather complicated join / where query.

It seemed to me as if the widget wasn't able to work properly in this case.

Jochen


More information about the TYPO3-project-typo3v4mvc mailing list