summaryrefslogtreecommitdiff
path: root/protected/views/speisTrank/index.php
diff options
context:
space:
mode:
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',