移除元数据地址的在线资源显示

This commit is contained in:
wlx 2010-07-01 10:57:47 +00:00
parent 09de5a3b4f
commit fd42b99120
1 changed files with 1 additions and 1 deletions

View File

@ -589,7 +589,7 @@ class DataController extends Zend_Controller_Action
$row=$db->fetchRow($sql);
if ($row) $this->view->doc=$row['linkage'];
//相关资源
$sql="select * from onlineresource where uuid=? and description<>'数据说明文档' and (linkage not like '%ftp.westgis%')";
$sql="select * from onlineresource where uuid=? and description<>'数据说明文档' and (linkage not like '%ftp.westgis%') and (linkage not like '%westdc%') and name<>'元数据地址'";
$sql=$db->quoteInto($sql,$uuid);
$this->view->resources=$db->fetchAll($sql);
//建议参考文献