Skip to content

Commit

Permalink
withoutGroupLimitKeys fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kit Senior committed Jul 9, 2024
1 parent 19c909f commit 4e91bcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Database/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3010,6 +3010,7 @@ protected function withoutGroupLimitKeys($items)

if (isset($this->groupLimit['column'])) {
foreach ((array) $this->groupLimit['column'] as $i => $column) {
$column = last(explode('.', $column));
$keysToRemove[] = '@laravel_group'.$i.' := '.$this->grammar->wrap($column);
$keysToRemove[] = '@laravel_group'.$i.' := '.$this->grammar->wrap('pivot_'.$column);
}
Expand Down

0 comments on commit 4e91bcd

Please sign in to comment.