diff --git a/Classes/Controller/SearchController.php b/Classes/Controller/SearchController.php index 0fa7f73..e484fcd 100644 --- a/Classes/Controller/SearchController.php +++ b/Classes/Controller/SearchController.php @@ -56,6 +56,12 @@ class SearchController extends ActionController ] )); } + + if ($this->arguments->hasArgument('searchRequest')) { + $this->arguments->getArgument('searchRequest')->getPropertyMappingConfiguration() + ->allowAllProperties() + ; + } } /** diff --git a/ext_localconf.php b/ext_localconf.php index 54bf43b..5c42c9c 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -31,9 +31,6 @@ call_user_func( 'search', [ 'Search' => 'search' - ], - [ - 'Search' => 'search' // TODO: Enable caching. But submitting form results in previous result?! ] );