diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index bdbd611f..4fbd642a 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -63,7 +63,6 @@ class DataController extends Zend_Controller_Action $sum=$row[0]['count']; $select=$this->db->select(); $select->from('normalmetadata','*')->joinLeft('mdstat','normalmetadata.uuid=mdstat.uuid', ['viewed','downloaded'])->where('datatype=0')->order('title')->limitPage($page,$limit); - $this->view->metadata = $this->db->fetchAll($select); view::addPaginator($select, $this); //服务 diff --git a/application/default/views/scripts/data/index.phtml b/application/default/views/scripts/data/index.phtml index 480642bd..148f61e0 100755 --- a/application/default/views/scripts/data/index.phtml +++ b/application/default/views/scripts/data/index.phtml @@ -49,7 +49,7 @@ $this->headLink()->appendStylesheet('/static-sanjy-np/css/about.css');