From e9701f7bbedb9dfb00ebc212e673911103fec839 Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 14 Oct 2011 03:20:45 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BB=85=E5=9C=A8=E6=9C=AA=E6=94=BE=E5=85=A5?= =?UTF-8?q?=E8=AF=84=E5=AE=A1=E5=BA=93=E4=B8=AD=E7=9A=84=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=AF=B9=E5=BA=94=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controllers/DataController.php | 3 ++- application/admin/views/scripts/data/md.phtml | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/application/admin/controllers/DataController.php b/application/admin/controllers/DataController.php index 781e2b48..f9962624 100755 --- a/application/admin/controllers/DataController.php +++ b/application/admin/controllers/DataController.php @@ -388,7 +388,8 @@ class Admin_DataController extends Zend_Controller_Action $select=$this->db->select(); $select->from('metadata') ->joinLeft('mdstat','metadata.uuid=mdstat.uuid','viewed') - ->joinLeft('geonetworkmetadata','geonetworkmetadata.uuid=metadata.uuid','id as gid') + ->joinLeft('geonetworkmetadata','geonetworkmetadata.uuid=metadata.uuid','id as gid') + ->joinLeft('mdstatus','metadata.uuid=mdstatus.uuid','status as mdstatus') ->order('metadata.id desc'); $paginator = Zend_Paginator::factory($select); $paginator->setCurrentPageNumber($this->_getParam('page')); diff --git a/application/admin/views/scripts/data/md.phtml b/application/admin/views/scripts/data/md.phtml index d67ffe9d..b474207e 100644 --- a/application/admin/views/scripts/data/md.phtml +++ b/application/admin/views/scripts/data/md.phtml @@ -44,7 +44,11 @@ ,查看:次。 操作: 编辑 删除 - 同步 附件管理 放入元数据评审] + 同步 附件管理 + + 放入元数据评审 + + ]
  • 数据贡献者: