Skip to content

Commit 1eda6b0

Browse files
committed
Code cleanup
1 parent 68eaee8 commit 1eda6b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Repositories/AbstractRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ protected function addSearchJoin(Builder $query, $joining_table, $foreign_key, $
763763
$alias = $alias ?: $joining_table;
764764

765765
// Create the join
766-
$query->leftJoin($table, "{$alias}.{$foreign_key}", "{$local_table}.{$related_key}");
766+
$query->join($table, "{$alias}.{$foreign_key}", "{$local_table}.{$related_key}");
767767

768768
return $alias;
769769
}

0 commit comments

Comments
 (0)