Skip to content

Commit

Permalink
[TASK] Ignore language mode for third party intergration
Browse files Browse the repository at this point in the history
  • Loading branch information
astehlik committed Nov 30, 2017
1 parent feeeb3e commit de445b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/Domain/Repository/MediaRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function findOneByParentRecord(array $data): Media

$query = $this->createQuery();
$query->getQuerySettings()->setRespectStoragePage(false);
$query->getQuerySettings()->setLanguageMode(null);

$andCondition = [
$query->equals('parentTable', $parentTable),
Expand Down

0 comments on commit de445b9

Please sign in to comment.