修改后台待审的分平台功能

This commit is contained in:
wlx 2014-06-11 08:43:01 +00:00
parent 76c6725159
commit 6b4682325f
1 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ class Admin_ReviewController extends Zend_Controller_Action
if(!empty($keyword))
{
$sql = "select m.*,md.title,u.username,u.realname from mdstatus m
right join metadata md on md.uuid=m.uuid
right join $this->submd md on md.uuid=m.uuid
left join users u on u.id=m.userid
where m.status in (1,2,3,4)
and md.title like '%$keyword%'
@ -208,7 +208,7 @@ class Admin_ReviewController extends Zend_Controller_Action
else
{
$sql = "select m.*,md.title,u.username,u.realname from mdstatus m
right join metadata md on md.uuid=m.uuid
right join $this->submd md on md.uuid=m.uuid
left join users u on u.id=m.userid
where m.status in (1,2,3,4)
order by m.ts_created desc";