summaryrefslogtreecommitdiff
path: root/protected/views/speisTrank/index.php
diff options
context:
space:
mode:
authorTristan Zur <tzur@ccwn.org>2012-04-28 17:35:58 +0200
committerTristan Zur <tzur@ccwn.org>2012-04-28 17:35:58 +0200
commit8b87e1e00a2dbd413f4cb1abb66161d7ace55b78 (patch)
tree37e0fb03cd8755fcbae3e6640718abf4e7bb3131 /protected/views/speisTrank/index.php
parent139dbc9cc21fb1d419c6ecc80380f723e613efbc (diff)
- Verbesserung der Suchfunktionen
Diffstat (limited to 'protected/views/speisTrank/index.php')
-rw-r--r--protected/views/speisTrank/index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/protected/views/speisTrank/index.php b/protected/views/speisTrank/index.php
index 48015fc..1f416cc 100644
--- a/protected/views/speisTrank/index.php
+++ b/protected/views/speisTrank/index.php
@@ -20,7 +20,10 @@ $this->menu=array(
'dataProvider'=>$model->search(),
'filter'=>$model,
'columns'=>array(
- array('header'=>'Kategorie', 'value'=>'($data->kategorie) ? $data->kategorie->name : "-"'),
+ array('header'=>'Kategorie',
+ 'name'=>'kategorie_id',
+ 'filter'=>CHtml::listData(Kategorie::model()->findAll(), 'id', 'name'),
+ 'value'=>'($data->kategorie) ? $data->kategorie->name : "-"'),
'name',
'beschreibung:html',
array('header'=>'Öffentlich',