修改离线服务记录的限定条件
This commit is contained in:
parent
6a9bdd0109
commit
d5e1dbcbee
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue