diff options
Diffstat (limited to 'protected/controllers/VeranstaltungController.php')
| -rw-r--r-- | protected/controllers/VeranstaltungController.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protected/controllers/VeranstaltungController.php b/protected/controllers/VeranstaltungController.php index d047f1d..4cc1c58 100644 --- a/protected/controllers/VeranstaltungController.php +++ b/protected/controllers/VeranstaltungController.php @@ -54,13 +54,16 @@ class VeranstaltungController extends Controller */ public function actionIndex() { + $tag="Alle"; $model=new Veranstaltung('search'); $model->unsetAttributes(); // clear any default values if(isset($_GET['Veranstaltung'])) $model->attributes=$_GET['Veranstaltung']; - + if(isset($_GET['tag'])) + $tag=$_GET['tag']; $this->render('index',array( 'model'=>$model, + 'tag' => $tag, )); } |
