让搜索也支持存档信息
This commit is contained in:
parent
35c06c9222
commit
7ea687861c
|
@ -426,9 +426,10 @@ class Admin_DataController extends Zend_Controller_Action
|
|||
|
||||
if(!empty($keyword))
|
||||
{
|
||||
$sql = "select m.*,md.viewed,g.id as gid from metadata m
|
||||
$sql = "select m.*,md.viewed,g.id as gid, 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
|
||||
where m.title like '%$keyword%'
|
||||
order by m.id desc
|
||||
";
|
||||
|
|
Loading…
Reference in New Issue