#493, 修复元数据编辑链接
This commit is contained in:
parent
70a02a9d05
commit
37233cf6a1
|
@ -47,7 +47,7 @@ table thead tr th {background:#EBF2F6;color:#444;}
|
|||
<?php foreach ($this->paginator as $item): ?>
|
||||
<tr>
|
||||
<td><?= $item['title']?> [
|
||||
<a href="/service/geonetwork?url=metadata.edit?id=<?= $item['mdid'] ?>" target="_blank">编辑</a> |
|
||||
<a href="/service/geonetwork?url=metadata.edit?id=<?= $item['gid'] ?>" target="_blank">编辑</a> |
|
||||
<a href="javascript:void(0);" rel="<?= $item['uuid']?>" class="version">版本</a>
|
||||
]</td>
|
||||
<td><?php
|
||||
|
|
|
@ -76,9 +76,10 @@ class Review extends Zend_Controller_Plugin_Abstract
|
|||
$wheresql = "";
|
||||
}
|
||||
|
||||
$sql = "select m.id,md.uuid,md.title,u.username,u.realname,m.status,md.id as mdid,md.author,m.ts_accepted
|
||||
$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
|
||||
FROM mdstatus m
|
||||
right join metadata md on md.uuid=m.uuid
|
||||
right join metadata md on md.uuid=m.uuid
|
||||
left join geonetworkmetadata g on m.uuid=g.uuid
|
||||
left join users u on u.id=m.userid
|
||||
$wheresql
|
||||
order by m.status desc,m.ts_accepted desc";
|
||||
|
|
Loading…
Reference in New Issue