[COMPONENT][Language] Fix collection query build event incorrectly not setting 'actor_language' join
Thanks to tsmethurst <tobi.smethurst@protonmail.com> for finding the error
This commit is contained in:
parent
46ff8aacd2
commit
5cbb1627f2
@ -123,7 +123,7 @@ class Language extends Component
|
||||
$note_qb->leftJoin('Component\Language\Entity\Language', 'note_actor_language', Expr\Join::WITH, 'note_actor_language.id = actor_language.language_id');
|
||||
}
|
||||
|
||||
$actor_aliases = $note_qb->getAllAliases();
|
||||
$actor_aliases = $actor_qb->getAllAliases();
|
||||
if (!\in_array('actor_language', $actor_aliases)) {
|
||||
$actor_qb->leftJoin('Component\Language\Entity\ActorLanguage', 'actor_language', Expr\Join::WITH, 'actor.id = actor_language.actor_id');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user