修补用户搜索分页bug
This commit is contained in:
parent
f570cb3c03
commit
a0e748f45d
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue