From 1e2baa18225d78e144ba4234280f306ef9f479a8 Mon Sep 17 00:00:00 2001 From: wlx Date: Thu, 2 Dec 2010 14:24:57 +0000 Subject: [PATCH] add title output --- application/default/controllers/ServiceController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/ServiceController.php b/application/default/controllers/ServiceController.php index 203c5d6b..63ec9b6b 100644 --- a/application/default/controllers/ServiceController.php +++ b/application/default/controllers/ServiceController.php @@ -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 north?"; + $sql="select id,title,uuid,description,filesize,fileformat from metadata where east? and north?"; if (!empty($key)) { $sql.= " and (title ilike ? or description ilike ?)"; $sql.= " order by title";