修补用户搜索分页bug

This commit is contained in:
Li Jianxuan 2011-09-15 02:17:39 +00:00
parent f570cb3c03
commit a0e748f45d
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class Admin_DownController extends Zend_Controller_Action
$paginator->setCurrentPageNumber($this->_getParam('page')); $paginator->setCurrentPageNumber($this->_getParam('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.phtml'); Zend_View_Helper_PaginationControl::setDefaultViewPartial('pagination_param.phtml');
$this->view->paginator=$paginator; $this->view->paginator=$paginator;
$count = count($this->db->fetchAll($select)); $count = count($this->db->fetchAll($select));