change sql in odt action
This commit is contained in:
parent
70a968e556
commit
ea6778a80e
|
@ -465,7 +465,7 @@ class ServiceController extends Zend_Controller_Action
|
|||
if (!empty($uuid))
|
||||
{
|
||||
$sql="select g.data,m.title,m.citation,m.suppinfo,m.doi,m.filesize,m.fileformat,m.south,m.east,m.west,m.north,date(m.timebegin) as timebegin,date(m.timeend) as timeend,m.title_en,m.uuid,m.description,g.id,m.projection,t.filetype
|
||||
from xml x left join metadata m on m.id=x.id left join thumbnail t on x.id=t.id
|
||||
from metadata m left join thumbnail t on m.id=t.id
|
||||
left join geonetworkmetadata g on g.uuid=m.uuid where m.uuid=".$this->db->quote($uuid);
|
||||
$row=$this->db->fetchRow($sql);
|
||||
$sql="select r.* from reference r left join mdref m on m.refid=r.id where m.uuid=?";
|
||||
|
|
Loading…
Reference in New Issue