提取有URL的文章
This commit is contained in:
parent
a5e02f8d84
commit
204c1de674
|
@ -4,7 +4,7 @@ class KnowledgeController extends Zend_Controller_Action
|
|||
function indexAction()
|
||||
{
|
||||
//$this->_redirect('/metadata');
|
||||
$sql="select * from knl_article order by item_id desc limit 10";
|
||||
$sql="select * from knl_article where url <>'' order by item_id desc limit 10";
|
||||
$this->view->articles=$this->db->fetchAll($sql);
|
||||
}
|
||||
function preDispatch()
|
||||
|
|
Loading…
Reference in New Issue