From e954b7ed9c7a19e224f7723cc76a47de23e2018b Mon Sep 17 00:00:00 2001 From: avene Date: Sun, 24 Jun 2018 14:51:04 +0800 Subject: [PATCH] update data detail page --- application/default/controllers/DataController.php | 1 - application/default/views/scripts/data/index.phtml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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');