对关键词按照插入时间进行排序(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'];
|
if ($rs) $this->view->projection=$rs['proj4text'];
|
||||||
}
|
}
|
||||||
$where=$db->quoteInto('id= ?',$id);
|
$where=$db->quoteInto('id= ?',$id);
|
||||||
$order='keytype';
|
$order='keytype,ts_created desc';
|
||||||
$keyt=new KeywordTable();
|
$keyt=new KeywordTable();
|
||||||
$this->view->keys=$keyt->fetchAll($where,$order);
|
$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= ?';
|
$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