增加排序
This commit is contained in:
parent
dd9a48ddd3
commit
fc2ffc188b
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue