fix ticket #299, do not display the refused records
This commit is contained in:
parent
399986714d
commit
9a8981e75e
|
@ -379,7 +379,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')->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