diff options
Diffstat (limited to 'protected/controllers/VeranstaltungController.php')
| -rw-r--r-- | protected/controllers/VeranstaltungController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protected/controllers/VeranstaltungController.php b/protected/controllers/VeranstaltungController.php index 49ec10a..acac0be 100644 --- a/protected/controllers/VeranstaltungController.php +++ b/protected/controllers/VeranstaltungController.php @@ -66,7 +66,7 @@ class VeranstaltungController extends Controller $this->redirect(array('view','id'=>$model->id)); } - $standorte = Standort::model()->findAll(array("condition"=>"published=1 and type='Bühne'")); + $standorte = Standort::model()->findAll(array("condition"=>"published=1")); $vereine = Verein::model()->findAll(array("condition"=>"published=1")); $this->render('create',array( @@ -96,7 +96,7 @@ class VeranstaltungController extends Controller $this->redirect(array('view','id'=>$model->id)); } - $standorte = Standort::model()->findAll(array("condition"=>"published=1 and type='Bühne'")); + $standorte = Standort::model()->findAll(array("condition"=>"published=1 order by type, name")); $vereine = Verein::model()->findAll(array("condition"=>"published=1")); $this->render('update',array( |
