-
-
Notifications
You must be signed in to change notification settings - Fork 261
Open
Description
Mountpoint pages are always indexed to root where is original page
Need to change 3 lines in file Classes/Domain/Search/ApacheSolrDocument/Builder.php
Probably it was forgotten, because parameter $mountPointParameter is there, but is not used for getting correct site object
line 61:
$site = $this->getSiteByPageId($pageId);
need to change to
$site = $this->getSiteByPageId($pageId, $mountPointParameter);
line 178:
protected function getSiteByPageId(int $pageId): Site
need to change to
protected function getSiteByPageId(int $pageId, string $mountPointParameter = ''): Site
line 181:
return $siteRepository->getSiteByPageId($pageId);
need to change to
return $siteRepository->getSiteByPageId($pageId, $mountPointParameter);
Metadata
Metadata
Assignees
Labels
No labels