From a3aa7e2df3e635fd0b9d7961b5a6c88fd4cf39aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Parafi=C5=84ski?= Date: Thu, 21 Nov 2024 10:01:01 +0100 Subject: [PATCH] Update src/lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentFulltextFields.php Co-authored-by: Konrad Oboza --- .../ContentDocumentFulltextFields.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentFulltextFields.php b/src/lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentFulltextFields.php index 1e8a930..1db71b0 100644 --- a/src/lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentFulltextFields.php +++ b/src/lib/FieldMapper/ContentTranslationFieldMapper/ContentDocumentFulltextFields.php @@ -177,7 +177,7 @@ private function doMapRelatedFields(Content $sourceContent, $languageCode, $maxD { $sourceContentId = $sourceContent->versionInfo->contentInfo->id; $relations = $this->contentHandler->loadRelationList( - $sourceContent->versionInfo->contentInfo->id, + $sourceContentId, $this->contentHandler->countRelations($sourceContentId) );