diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index db13d370..4d01e2bd 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -548,7 +548,7 @@ class DataController extends Zend_Controller_Action $row=$db->fetchRow($sql); if ($row) $this->view->doc=$row['linkage']; //相关用户 - $sql="select p.individual,p.organisation,r.role from role r left join responsible p on r.resid=p.id where r.uuid=?"; + $sql="select p.individual,p.organisation,r.role from role r left join responsible p on r.resid=p.id where r.uuid=? order by r.role,p.individual"; $this->view->authors=$db->fetchAll($sql,array($uuid)); //相关元数据,根据同名关键词实现 //$sql="select distinct(md.uuid),md.title from keyword kw left join metadata md on kw.id=md.id where kw.keyword in (select k.keyword from keyword k left join metadata m on k.id=m.id where m.id=? and k.keytype='theme') and kw.id<>? limit 10"; diff --git a/application/default/views/scripts/data/view.phtml b/application/default/views/scripts/data/view.phtml index 066ccd86..d2ac41cf 100755 --- a/application/default/views/scripts/data/view.phtml +++ b/application/default/views/scripts/data/view.phtml @@ -83,10 +83,22 @@ else

其他信息