diff --git a/Classes/Controller/BibliographyController.php b/Classes/Controller/BibliographyController.php
index ba937fc..9347316 100644
--- a/Classes/Controller/BibliographyController.php
+++ b/Classes/Controller/BibliographyController.php
@@ -24,6 +24,7 @@
use Slub\LisztBibliography\Interfaces\ElasticSearchServiceInterface;
use TYPO3\CMS\Core\Context\Context;
+use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
final class BibliographyController extends ClientEnabledController
{
@@ -33,7 +34,6 @@ final class BibliographyController extends ClientEnabledController
protected int $resultLimit;
-
// Dependency Injection of Repository
// https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/DependencyInjection/Index.html#Dependency-Injection
@@ -58,6 +58,9 @@ public function searchAction(): ResponseInterface
$this->view->assign('totalItems', $elasticResponse['hits']['total']['value']);
+ $searchParams = $this->request->getQueryParams();
+ $this->view->assign('searchParams', $searchParams);
+
$this->view->assign('bibliographyList', $elasticResponse);
return $this->htmlResponse();
diff --git a/Configuration/TypoScript/setup.typoscript b/Configuration/TypoScript/setup.typoscript
index 42abdf1..09c9d64 100644
--- a/Configuration/TypoScript/setup.typoscript
+++ b/Configuration/TypoScript/setup.typoscript
@@ -5,19 +5,27 @@
// @import 'EXT:liszt_common/Configuration/TypoScript/setup.typoscript'
-lib.contentElement {
- #layoutRootPaths {
- #200 = EXT:liszt_bibliography:Resources/Private/Layouts
- #}
- #partialRootPaths {
- #200 = EXT:liszt_bibliography:Resources/Private/Partial
- #}
+
+// ToDo: Frage Matthias warum doppelt?
+/*lib.contentElement {
+ layoutRootPaths {
+ 100 = EXT:liszt_bibliography/Resources/Private/Layouts/
+ 20 = EXT:liszt_web/Resources/Private/Layouts/
+
+ }
templateRootPaths {
- 200 = EXT:liszt_bibliography/Resources/Private/Templates
+ 100 = EXT:liszt_bibliography/Resources/Private/Templates/
}
+ partialRootPaths {
+ 20 = EXT:liszt_web/Resources/Private/Partials/
+ 100 = EXT:liszt_bibliography/Resources/Private/Partials/
+ }
}
+
+
+
// ToDo: needed?
tt_content {
lisztbibliography_listing =< lib.contentElement
diff --git a/Resources/Private/Layouts/Testtemplate.html b/Resources/Private/Layouts/Testtemplate.html
new file mode 100644
index 0000000..2ff465e
--- /dev/null
+++ b/Resources/Private/Layouts/Testtemplate.html
@@ -0,0 +1,22 @@
+
+
+