We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e85090 commit 6439d0dCopy full SHA for 6439d0d
src/PowerJoinClause.php
@@ -141,10 +141,7 @@ protected function useAliasInWhereBasicType(array $where): array
141
return $where;
142
}
143
144
- if (Str::contains($where['column'], $table)) {
145
- // if joining the same table, only replace the correct table.key pair
146
- $where['column'] = str_replace($table.'.', $this->alias.'.', $where['column']);
147
- }
+ $where['column'] = str_replace($table.'.', $this->alias.'.', $where['column']);
148
149
150
0 commit comments