Pierre SCALFATI
|
Tuesday 09 June 2009 9:12:11 am
I found finally what was wrong with my pagination. It came from my fetch function which did not indicate the limits. Here is what I changed:
{def $rubriques = fetch('content', 'list', hash('parent_node_id', $node.node_id, 'depth', 0, 'language', $node.object.current_language, 'offset', $view_parameters.offset, 'limit', $page_limit, 'sort_by', array( 'name', true() )))}
What was missing was the following parameter
'limit', $page_limit
$page_limit is defined with a value of 5 (for 5 items maximum displayed for each page). Best Regards.
|