Feature #60271
Paginate viewhelper, should also support arrays
Status: | New | Start date: | 2014-07-11 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
Has patch: | No |
Description
Hello,
i want to use this viewhelper for a search result page,
<f:widget.paginate objects="{contacts}" as="paginatedContacts" configuration="{itemsPerPage:8, insertAbove:0, insertBelow:1, maximumNumberOfLinks:10, addQueryStringMethod: '{method}'}"> <div class="container map_search_results"> <f:for each="{paginatedContacts}" as="contact"> <f:render partial="List/Contact" arguments="{contact: contact, lang: lang}" /> </f:for> <div class="clear-fix"></div> </div> </f:widget.paginate>
but i got a php error:PHP Fatal error: Call to a member function getQuery() on a non-object in ...\cms\typo3\sysext\fluid\Classes\ViewHelpers\Widget\Controller\PaginateController.php on line 76