diff --git a/Classes/Controller/SearchController.php b/Classes/Controller/SearchController.php
index f8fa519..a5e2864 100644
--- a/Classes/Controller/SearchController.php
+++ b/Classes/Controller/SearchController.php
@@ -28,8 +28,10 @@ public function __construct(private readonly ElasticSearchServiceInterface $elas
- public function indexAction(array $searchParams = []): ResponseInterface
+ public function indexAction(array $searchParams ): ResponseInterface
{
+debug('hier!!');
+debug($searchParams);
$language = $this->request->getAttribute('language');
$locale = $language->getLocale();
@@ -39,7 +41,6 @@ public function indexAction(array $searchParams = []): ResponseInterface
$this->view->assign('totalItems', $elasticResponse['hits']['total']['value']);
- $searchParams = $this->request->getQueryParams();
$this->view->assign('searchParams', $searchParams);
@@ -47,8 +48,9 @@ public function indexAction(array $searchParams = []): ResponseInterface
return $this->htmlResponse();
}
- public function searchBarAction(): ResponseInterface
+ public function searchBarAction(array $searchParams = []): ResponseInterface
{
+ $this->view->assign('searchParams', $searchParams);
return $this->htmlResponse();
}
diff --git a/Configuration/TypoScript/setup.typoscript b/Configuration/TypoScript/setup.typoscript
index 62fcd81..9d42f96 100644
--- a/Configuration/TypoScript/setup.typoscript
+++ b/Configuration/TypoScript/setup.typoscript
@@ -78,4 +78,5 @@ tt_content {
}*/
-
+plugin.tx_lisztcommon_searchbar.view.pluginNamespace = tx_liszt_common_searchlisting
+plugin.tx_lisztcommon_searchlisting.view.pluginNamespace = tx_liszt_common_searchlisting
diff --git a/Resources/Private/Partials/SearchBarStandalone.html b/Resources/Private/Partials/SearchBarStandalone_old.html
similarity index 100%
rename from Resources/Private/Partials/SearchBarStandalone.html
rename to Resources/Private/Partials/SearchBarStandalone_old.html
diff --git a/Resources/Private/Partials/SearchBar.html b/Resources/Private/Partials/SearchBar_old.html
similarity index 56%
rename from Resources/Private/Partials/SearchBar.html
rename to Resources/Private/Partials/SearchBar_old.html
index 1bebdd6..fb09423 100644
--- a/Resources/Private/Partials/SearchBar.html
+++ b/Resources/Private/Partials/SearchBar_old.html
@@ -9,8 +9,8 @@