From cec6465e4e1706e144db0336871640b51be00024 Mon Sep 17 00:00:00 2001 From: wlx Date: Sun, 20 Dec 2009 15:10:09 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtimeline=E4=B8=AD=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=91=98=E8=A6=81=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/controllers/DataController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/default/controllers/DataController.php b/application/default/controllers/DataController.php index d549bf77..64c895e3 100755 --- a/application/default/controllers/DataController.php +++ b/application/default/controllers/DataController.php @@ -273,7 +273,7 @@ class DataController extends Zend_Controller_Action $dateformat="D M j Y G:i:s O"; $md = new MetadataTable(); $db=$md->getAdapter(); - $state=$db->query('select id,uuid,title,timebegin,timeend from metadata where timebegin is not null'); + $state=$db->query('select id,uuid,description,title,timebegin,timeend from metadata where timebegin is not null'); $rows=$state->fetchAll(); $timexml=''; foreach($rows as $row) { @@ -335,7 +335,7 @@ class DataController extends Zend_Controller_Action */ function timemapAction() { - $sql='select id,uuid,west,south,north,east,title,timebegin,timeend,description from metadata where timebegin is not null'; + $sql='select id,uuid,west,south,north,east,title,timebegin,timeend from metadata where timebegin is not null'; $this->view->rows=$this->db->fetchAll($sql); } /*