对关键词按照插入时间进行排序(XML中的次序)
This commit is contained in:
parent
a127980cc4
commit
26fd9aa732
|
@ -568,7 +568,7 @@ class DataController extends Zend_Controller_Action
|
|||
if ($rs) $this->view->projection=$rs['proj4text'];
|
||||
}
|
||||
$where=$db->quoteInto('id= ?',$id);
|
||||
$order='keytype';
|
||||
$order='keytype,ts_created desc';
|
||||
$keyt=new KeywordTable();
|
||||
$this->view->keys=$keyt->fetchAll($where,$order);
|
||||
$sql='select c.code,cc.name,cc.name_zh from category c,categorycode cc where c.code=cc.code and c.id= ?';
|
||||
|
|
Loading…
Reference in New Issue