fix ticket #299, do not display the refused records

This commit is contained in:
wlx 2012-02-16 03:25:49 +00:00
parent 399986714d
commit 9a8981e75e
1 changed files with 1 additions and 1 deletions

View File

@ -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);