diff options
Diffstat (limited to 'protected/views/veranstaltung/index.php')
| -rw-r--r-- | protected/views/veranstaltung/index.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/protected/views/veranstaltung/index.php b/protected/views/veranstaltung/index.php index 35f2ec7..caaa91e 100644 --- a/protected/views/veranstaltung/index.php +++ b/protected/views/veranstaltung/index.php @@ -17,8 +17,12 @@ $this->menu=array( <?php $this->widget('zii.widgets.grid.CGridView', array( 'id'=>'veranstaltung-grid', - 'dataProvider'=>$model->search(), + 'dataProvider'=>$model->sortedDESC()->search(), 'filter'=>$model, + 'rowCssClassExpression' => '
+ ( $row%2 ? $this->rowCssClass[1] : $this->rowCssClass[0] ) .
+ ( $data->thisYear ? null : " old" )
+ ', 'columns'=>array( array('header'=>'Verein', 'name'=>'verein_id', |
