diff --git a/Classes/Domain/Repository/TranslationRepository.php b/Classes/Domain/Repository/TranslationRepository.php index aa4dfb7..ac6cc16 100644 --- a/Classes/Domain/Repository/TranslationRepository.php +++ b/Classes/Domain/Repository/TranslationRepository.php @@ -22,6 +22,7 @@ public function initializeObject() */ $querySettings = $this->objectManager->get(\TYPO3\CMS\Extbase\Persistence\Generic\Typo3QuerySettings::class); $querySettings->setRespectStoragePage(false); + $querySettings->setLanguageOverlayMode('hideNonTranslated'); $this->setDefaultQuerySettings($querySettings); }