diff --git a/application/default/controllers/HeiheController.php b/application/default/controllers/HeiheController.php index b2a6ce3c..8b1b8c9a 100644 --- a/application/default/controllers/HeiheController.php +++ b/application/default/controllers/HeiheController.php @@ -11,6 +11,8 @@ class HeiheController extends DataController function indexAction() { + $sql="select m.uuid,m.title,m.id,m.description from normalmetadata m left join thumbnail t on m.id=t.id where m.source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and length(t.data)>2 order by random() limit 3"; + $this->view->meatdata=$this->db->fetchAll($sql); } /*