From 3e76a16bf8899390102262ee8e1bce379a4983b6 Mon Sep 17 00:00:00 2001 From: wlx Date: Tue, 25 Oct 2011 14:23:30 +0000 Subject: [PATCH] change table --- application/default/controllers/HeiheController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/HeiheController.php b/application/default/controllers/HeiheController.php index eb32d886..b2a6ce3c 100644 --- a/application/default/controllers/HeiheController.php +++ b/application/default/controllers/HeiheController.php @@ -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);