修改后台待审的分平台功能
This commit is contained in:
parent
76c6725159
commit
6b4682325f
|
@ -189,7 +189,7 @@ class Admin_ReviewController extends Zend_Controller_Action
|
||||||
if(!empty($keyword))
|
if(!empty($keyword))
|
||||||
{
|
{
|
||||||
$sql = "select m.*,md.title,u.username,u.realname from mdstatus m
|
$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
|
left join users u on u.id=m.userid
|
||||||
where m.status in (1,2,3,4)
|
where m.status in (1,2,3,4)
|
||||||
and md.title like '%$keyword%'
|
and md.title like '%$keyword%'
|
||||||
|
@ -208,7 +208,7 @@ class Admin_ReviewController extends Zend_Controller_Action
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$sql = "select m.*,md.title,u.username,u.realname from mdstatus m
|
$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
|
left join users u on u.id=m.userid
|
||||||
where m.status in (1,2,3,4)
|
where m.status in (1,2,3,4)
|
||||||
order by m.ts_created desc";
|
order by m.ts_created desc";
|
||||||
|
|
Loading…
Reference in New Issue