增加排序

This commit is contained in:
wlx 2014-01-09 02:47:14 +00:00
parent dd9a48ddd3
commit fc2ffc188b
1 changed files with 1 additions and 1 deletions

View File

@ -910,7 +910,7 @@ class Admin_ReviewController extends Zend_Controller_Action
$sql = "select m.id,md.title,md.uuid,u.username,u.realname,m.status,m.ts_finished from mdstatus m $sql = "select m.id,md.title,md.uuid,u.username,u.realname,m.status,m.ts_finished from mdstatus m
right join metadata md on md.uuid=m.uuid right join metadata md on md.uuid=m.uuid
left join users u on u.id=m.userid left join users u on u.id=m.userid
where status=5 $searchjoin"; where status=5 $searchjoin order by m.ts_finished desc";
$re = $this->db->query($sql); $re = $this->db->query($sql);
$rows = $re->fetchAll(); $rows = $re->fetchAll();