change pagenavitor code

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8919 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2011-08-26 08:41:53 +00:00
parent 68afb4b5ad
commit d48bcf6a6a
3 changed files with 6 additions and 6 deletions

View file

@ -276,7 +276,7 @@
Context::set('item_list', $item_list);
$array = array('total_count', 'total_page', 'cur_page', 'page_count', 'first_page', 'last_page');
$page_nav = $this->rearrange($xmlDoc->response->page_navigation, $array);
$page_navigation = new PageHandler($page_nav->total_count, $page_nav->total_page, $page_nav->cur_page, $page_nav->page_count);
$page_navigation = new PageHandler($page_nav->total_count, $page_nav->total_page, $page_nav->cur_page, 5);
Context::set('page_navigation', $page_navigation);
}