[TYPO3-mvc] $query->statement('MYQUERY') doesn't count for <f:paginate />
Domi
djgarms at gmail.com
Thu Mar 1 07:14:14 CET 2012
Hello List,
I just using the <f:paginate /> over an queryResult but have following
error:
Because of the use of
$query->statement('MYQUERY WITH SOME WHERE CONDITIONS');
If I make a count over $result->count() it counts all elements without
my statement conditions. This results an incorrect <f:paginate />,
because the count is wrong.
How shall I deal with $query->statement(), that the count is right for
the view?
Thanks!
Dominic
More information about the TYPO3-project-typo3v4mvc
mailing list