@@ -256,7 +256,9 @@ |
||
| 256 | 256 | * which causes a query exception |
| 257 | 257 | * The temporary fix is modify `*` column to `id` column |
| 258 | 258 | */ |
| 259 | - if ($column === '*') $column = 'id'; |
|
| 259 | + if ($column === '*') { |
|
| 260 | + $column = 'id'; |
|
| 261 | + } |
|
| 260 | 262 | $this->getQueryBuilder()->orderBy($column, $orderable['direction']); |
| 261 | 263 | } |
| 262 | 264 | } |