修改离线服务记录的限定条件

This commit is contained in:
wlx 2013-09-30 03:18:06 +00:00
parent 6a9bdd0109
commit d5e1dbcbee
1 changed files with 1 additions and 1 deletions

View File

@ -1123,7 +1123,7 @@ class Admin_DownController extends Zend_Controller_Action
} }
$select=$this->db->select(); $select=$this->db->select();
$select->from('offlineapp')->where('ts_approved is not null')->where('pdflink is not null')->where('status=0')->order('ts_created desc'); $select->from('offlineapp')->where('ts_approved is not null')->where('pdflink is not null')->where('status>=0')->order('ts_created desc');
$paginator = Zend_Paginator::factory($select); $paginator = Zend_Paginator::factory($select);
$paginator->setCurrentPageNumber($this->_getParam('page')); $paginator->setCurrentPageNumber($this->_getParam('page'));
$paginator->setItemCountPerPage($this->view->config->page->max); $paginator->setItemCountPerPage($this->view->config->page->max);