Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thorewi committed Aug 10, 2024
1 parent 8627a67 commit f20f049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QueryObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ final protected function addJoins(QueryBuilder $qb, array $columns): void
$filterKey = $this->getJoinFilterKey($join, $aliasNew);
if (!$this->isAlreadyJoined($filterKey)) {
// because order is a reserved word
$this->commonJoin($qb, $joinType, $join, $aliasNew === 'order' ? 'o' : $aliasNew);
$this->commonJoin($qb, $joinType, $join, $aliasNew);
}
$aliasLast = $aliasNew;
}
Expand Down

0 comments on commit f20f049

Please sign in to comment.