change order of metadata draft list, add view and edit link in myReview list
This commit is contained in:
parent
a41eaa51fb
commit
3b7fc18097
|
@ -681,7 +681,7 @@ class Admin_ReviewController extends Zend_Controller_Action
|
|||
$sql = "select m.id,md.title,md.uuid,u.username,u.realname,m.status from mdstatus m
|
||||
left join metadata md on md.uuid=m.uuid
|
||||
left join users u on u.id=m.userid
|
||||
where status=-1 $searchjoin";
|
||||
where status=-1 $searchjoin ORDER BY m.id DESC";
|
||||
|
||||
$re = $this->db->query($sql);
|
||||
$rows = $re->fetchAll();
|
||||
|
|
|
@ -40,7 +40,13 @@
|
|||
<tbody id="list">
|
||||
<?php foreach ($this->paginator as $item): ?>
|
||||
<tr>
|
||||
<td><?= $item['title']?></td>
|
||||
<td>
|
||||
<?= $item['title']?>
|
||||
[ <a href="/data/<?= $item['uuid'] ?>" 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> |
|
||||
<a href="/admin/data/md?search=1&keyword=<?= $item['title'] ?>">后台管理</a> ]
|
||||
</td>
|
||||
<td><?php
|
||||
if($item['status'] == 0) echo "初始";
|
||||
if($item['status'] == -1) echo "取消审核";
|
||||
|
|
Loading…
Reference in New Issue