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%'