Skip to content

Commit 754bb97

Browse files
committed
SQL quotes replaced to support Postgresql
1 parent 2788f4a commit 754bb97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/WithSorting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function applySorting(Builder $builder): Builder
8080
} elseif ($column->isBaseColumn()) {
8181
$builder->orderBy($column->getColumnSelectName(), $direction);
8282
} else {
83-
$builder->orderByRaw('`'.$column->getColumnSelectName().'`' . ' ' . $direction);
83+
$builder->orderByRaw('"'.$column->getColumnSelectName().'"' . ' ' . $direction);
8484
}
8585
}
8686

0 commit comments

Comments
 (0)