update pagination in archive list

This commit is contained in:
jack 2018-05-12 17:54:23 +08:00
parent cfd5cac55f
commit debcc73752
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class ArchivesController extends Zend_Controller_Action
$paginator->setCurrentPageNumber($page); $paginator->setCurrentPageNumber($page);
$paginator->setItemCountPerPage($this->view->config->page->max); $paginator->setItemCountPerPage($this->view->config->page->max);
$paginator->setView($this->view); $paginator->setView($this->view);
Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_text.phtml'); Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_param.phtml');
$this->view->paginator=$paginator; $this->view->paginator=$paginator;
} }