From 6b4682325f17149495e5344b21c18595a7312678 Mon Sep 17 00:00:00 2001 From: wlx Date: Wed, 11 Jun 2014 08:43:01 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8E=E5=8F=B0=E5=BE=85?= =?UTF-8?q?=E5=AE=A1=E7=9A=84=E5=88=86=E5=B9=B3=E5=8F=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controllers/ReviewController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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";