修正后台列表搜索中的多语言数据问题
This commit is contained in:
parent
dbb3ee4ce3
commit
fd9323ecc9
|
@ -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
|
$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 mdstat md on m.uuid=md.uuid
|
||||||
left join geonetworkmetadata g on g.uuid=m.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 mdstatus st ON md.uuid=st.uuid
|
||||||
left join en.geonetworkmetadata gen on gen.uuid=md.uuid
|
left join en.geonetworkmetadata gen on gen.uuid=md.uuid
|
||||||
where m.title like '%$keyword%'
|
where m.title like '%$keyword%'
|
||||||
|
|
Loading…
Reference in New Issue