Skip to content

Commit 816d40d

Browse files
committed
Fix sort expression to fix identifier quoting issues.
String expressions can't be identifier quoted and fail in postgres when quoting is on.
1 parent 644a9eb commit 816d40d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Table/RequestsTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class RequestsTable extends Table
3434
public function initialize(array $config)
3535
{
3636
$this->hasMany('DebugKit.Panels', [
37-
'sort' => 'Panels.title ASC',
37+
'sort' => ['Panels.title' => 'ASC'],
3838
]);
3939
$this->addBehavior('Timestamp', [
4040
'events' => [

0 commit comments

Comments
 (0)