对待审数据进行按时间排序
This commit is contained in:
parent
207b469eb7
commit
6697d74024
|
@ -192,7 +192,7 @@ class Admin_ReviewController extends Zend_Controller_Action
|
|||
$sql = "select m.*,md.title,u.username,u.realname from mdstatus m
|
||||
right join metadata md on md.uuid=m.uuid
|
||||
left join users u on u.id=m.userid
|
||||
where m.status=1";
|
||||
where m.status=1 order by m.ts_created desc";
|
||||
$re = $this->db->query($sql);
|
||||
$rows = $re->fetchAll();
|
||||
|
||||
|
|
Loading…
Reference in New Issue