summaryrefslogtreecommitdiff
path: root/protected/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'protected/controllers')
-rw-r--r--protected/controllers/SearchController.php2
-rw-r--r--protected/controllers/VeranstaltungController.php1
2 files changed, 2 insertions, 1 deletions
diff --git a/protected/controllers/SearchController.php b/protected/controllers/SearchController.php
index acf0aec..275fc6a 100644
--- a/protected/controllers/SearchController.php
+++ b/protected/controllers/SearchController.php
@@ -2,7 +2,7 @@
class SearchController extends Controller
{
- public static $Searchables = array('Veranstaltung'=>array('titel','beschreibung'),'Verein' => array('beschreibung','name'),'Sitecontent'=>array('content','title'));
+ public static $Searchables = array('Veranstaltung'=>array('titel','beschreibung'),'Angebot'=> array('name','beschreibung'),'Verein' => array('beschreibung','name'),'Sitecontent'=>array('content','title'));
public function actionIndex()
{
$this->render('index');
diff --git a/protected/controllers/VeranstaltungController.php b/protected/controllers/VeranstaltungController.php
index 619f7fe..1f55d0b 100644
--- a/protected/controllers/VeranstaltungController.php
+++ b/protected/controllers/VeranstaltungController.php
@@ -64,6 +64,7 @@ class VeranstaltungController extends Controller
));
}
+
public function actionNow()
{
$model=new Veranstaltung('now');