diff --git a/application/admin/controllers/ReviewController.php b/application/admin/controllers/ReviewController.php index 49f8345e..456bfcd7 100644 --- a/application/admin/controllers/ReviewController.php +++ b/application/admin/controllers/ReviewController.php @@ -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";