summaryrefslogtreecommitdiff
path: root/protected/controllers
diff options
context:
space:
mode:
authorPatrick Seeger <pseeger@ccwn.org>2014-05-08 14:36:06 +0200
committerPatrick Seeger <pseeger@ccwn.org>2014-05-08 14:36:06 +0200
commit1605cc08545606471973f6be130afca015bb35fe (patch)
tree0e145401b8c09e55b27ad60f28798ca6c2aa2f17 /protected/controllers
parent94a8598fa257e8838e7761e0b003677c0bb908d2 (diff)
Ausblenden von alten Veranstaltungen und alte Dinge
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');