summaryrefslogtreecommitdiff
path: root/protected/views/standort/_buehne.php
diff options
context:
space:
mode:
Diffstat (limited to 'protected/views/standort/_buehne.php')
-rw-r--r--protected/views/standort/_buehne.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/protected/views/standort/_buehne.php b/protected/views/standort/_buehne.php
index bfaa34a..0dc0870 100644
--- a/protected/views/standort/_buehne.php
+++ b/protected/views/standort/_buehne.php
@@ -1,5 +1,5 @@
<h6>Folgende Veranstaltungen finden <?php echo $data->name?> statt</h6>
-<?php
+<?php /*
$dataProvider=new CActiveDataProvider('Veranstaltung', array(
'criteria'=>array(
'condition'=>'standort_id='.$data->id." and published=1",
@@ -8,9 +8,10 @@ $dataProvider=new CActiveDataProvider('Veranstaltung', array(
'pageSize'=>20,
),
-));
+));*/
$this->widget('zii.widgets.CListView', array(
- 'dataProvider'=>$dataProvider,
+ //'dataProvider'=>$dataProvider,
+ 'dataProvider'=>Veranstaltung::model('Veranstaltung')->published()->thisYear()->parentStage($data->id)->sorted()->search(),
'itemView'=>'/veranstaltung/_short',
'sortableAttributes'=>array(
'name'