add title output

This commit is contained in:
wlx 2010-12-02 14:24:57 +00:00
parent 3d9ea8c7e0
commit 1e2baa1822
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class ServiceController extends Zend_Controller_Action
if (empty($w)) $w=-180;
//$start=$this->_request->getParam('start');
//$end=$this->_request->getParam('end');
$sql="select id,uuid,description,filesize,fileformat from metadata where east<? and west>? and north<? and south>?";
$sql="select id,title,uuid,description,filesize,fileformat from metadata where east<? and west>? and north<? and south>?";
if (!empty($key)) {
$sql.= " and (title ilike ? or description ilike ?)";
$sql.= " order by title";