只显示英文评审的元数据

This commit is contained in:
wlx 2014-06-23 06:42:49 +00:00
parent ebcc6cb2de
commit d36469db5f
1 changed files with 3 additions and 3 deletions

View File

@ -208,9 +208,9 @@ class Review extends Zend_Controller_Plugin_Abstract
} }
$sql = "select m.id,g.id as gid, md.uuid,md.title,u.username,u.realname,m.status,md.id as mdid,md.author,m.ts_accepted,count(r.id) as reviews $sql = "select m.id,g.id as gid, md.uuid,md.title,u.username,u.realname,m.status,md.id as mdid,md.author,m.ts_accepted,count(r.id) as reviews
FROM mdstatus m FROM en.mdstatus m
right join metadata md on md.uuid=m.uuid right join en.metadata md on md.uuid=m.uuid
left join geonetworkmetadata g on m.uuid=g.uuid left join en.geonetworkmetadata g on m.uuid=g.uuid
left join users u on u.id=m.userid left join users u on u.id=m.userid
left join datasource s on s.uuid=md.uuid left join datasource s on s.uuid=md.uuid
left join mdreview r ON r.uuid=md.uuid left join mdreview r ON r.uuid=md.uuid