From a1ca8b21ca4e610d7d9157f275893e9dd62abd79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albrecht=20K=C3=B6hnlein?= Date: Mon, 14 Jul 2025 11:16:34 +0200 Subject: [PATCH] [BUGFIX] Find correct site for mountpoints --- Classes/Domain/Search/ApacheSolrDocument/Builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Domain/Search/ApacheSolrDocument/Builder.php b/Classes/Domain/Search/ApacheSolrDocument/Builder.php index 181ed214a..0639a0dfc 100644 --- a/Classes/Domain/Search/ApacheSolrDocument/Builder.php +++ b/Classes/Domain/Search/ApacheSolrDocument/Builder.php @@ -58,7 +58,7 @@ public function fromPage( $pageRecord = $pageInformation->getPageRecord(); $document = GeneralUtility::makeInstance(Document::class); - $site = $this->getSiteByPageId($pageId); + $site = $this->getSiteByPageId($tsfe->rootLine[0]['uid'] ?? $pageId); $accessGroups = $this->getDocumentIdGroups($pageAccessRootline); $documentId = $this->getPageDocumentId($pageInformation, $pageArguments, $siteLanguage, $accessGroups, $mountPointParameter);