修复timeline中不显示摘要的错误
This commit is contained in:
parent
218f09d84b
commit
cec6465e4e
|
@ -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='<data>';
|
||||
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);
|
||||
}
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue