修复timeline中不显示摘要的错误

This commit is contained in:
wlx 2009-12-20 15:10:09 +00:00
parent 218f09d84b
commit cec6465e4e
1 changed files with 2 additions and 2 deletions

View File

@ -273,7 +273,7 @@ class DataController extends Zend_Controller_Action
$dateformat="D M j Y G:i:s O"; $dateformat="D M j Y G:i:s O";
$md = new MetadataTable(); $md = new MetadataTable();
$db=$md->getAdapter(); $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(); $rows=$state->fetchAll();
$timexml='<data>'; $timexml='<data>';
foreach($rows as $row) { foreach($rows as $row) {
@ -335,7 +335,7 @@ class DataController extends Zend_Controller_Action
*/ */
function timemapAction() 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); $this->view->rows=$this->db->fetchAll($sql);
} }
/* /*