diff --git a/src/Http/Livewire/LivewireDatatable.php b/src/Http/Livewire/LivewireDatatable.php index efd7606b..b6f9ef7d 100644 --- a/src/Http/Livewire/LivewireDatatable.php +++ b/src/Http/Livewire/LivewireDatatable.php @@ -724,7 +724,7 @@ public function getSortString() default: return $dbTable == 'pgsql' || $dbTable == 'sqlsrv' ? new Expression('"' . $column['name'] . '"') - : new Expression('`' . $column['name'] . '`'); + : new Expression("'" . $column['name'] . "'"); break; } }