From 449453c28f978252847945fa7f9618a2e5a866d1 Mon Sep 17 00:00:00 2001 From: wlx Date: Mon, 14 Sep 2015 16:35:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=90=8E=E5=8F=B0=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=90=9C=E7=B4=A2=E4=B8=AD=E7=9A=84=E5=A4=9A=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E6=95=B0=E6=8D=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controllers/DataController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php index be55f4eb..dce080fd 100755 --- a/application/admin/controllers/DataController.php +++ b/application/admin/controllers/DataController.php @@ -473,7 +473,7 @@ class Admin_DataController extends Zend_Controller_Action $sql = "select m.*,md.viewed,g.id as gid,gen.id as genid,st.status as mdstatus, ds.id as datasetid from metadata m left join mdstat md on m.uuid=md.uuid left join geonetworkmetadata g on g.uuid=m.uuid - left join dataset ds on m.uuid=ds.uuid + left join dataset ds on m.uuid=ds.uuid and ds.lang in ('','cn') LEFT JOIN mdstatus st ON md.uuid=st.uuid left join en.geonetworkmetadata gen on gen.uuid=md.uuid where m.title like '%$keyword%'