From 60c5de530a668eaff7039a29c00df372cb56662b Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Thu, 31 May 2012 01:51:36 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E6=9F=90=E6=95=B0=E6=8D=AE=E6=89=80=E6=9C=89=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E7=9A=84SQL=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controllers/DataController.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php index 61f9fd60..83914058 100755 --- a/application/admin/controllers/DataController.php +++ b/application/admin/controllers/DataController.php @@ -1618,9 +1618,8 @@ class Admin_DataController extends Zend_Controller_Action //view the versions of the data $sql = "SELECT md.title,md.uuid,v.ts_created,v.changelog,v.userid,v.id,u.username,u.realname FROM mdversion v LEFT JOIN metadata md ON md.uuid=v.uuid - LEFT JOIN mdauthor a ON md.uuid=a.uuid left join users u on v.userid=u.id - WHERE md.title IS NOT NULL AND v.uuid=? AND a.status=1 + WHERE md.title IS NOT NULL AND v.uuid=? order by v.ts_created desc "; $sth = $this->db->prepare($sql); @@ -2298,6 +2297,9 @@ class Admin_DataController extends Zend_Controller_Action + + + }//authorAction() 数据作者管理 /*