change table

This commit is contained in:
wlx 2011-10-25 14:23:30 +00:00
parent f7dbc6ff42
commit 3e76a16bf8
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class HeiheController extends DataController
$sum=$row[0]['count'];
$select=$this->db->select();
$select->from('normalmetadata as m','m.*')
->joinLeft('heihegn as g','g.uuid=m.uuid','g.id as gid')
->joinLeft('geonetworkmetadata as g','g.uuid=m.uuid','g.id as gid')
->joinLeft('thumbnail as t','t.id=m.id','t.filename')
->where("m.source=?",'e3ad32dc-f573-11e0-aa7b-b768cfd88d80')
->order('m.title desc')->limitPage($page,$this->limit);