fix: [inboxes:index] Fixed pagination target key
parent
2274fff424
commit
d823190624
|
@ -23,7 +23,7 @@ class InboxController extends AppController
|
|||
public $paginate = [
|
||||
'order' => [
|
||||
'Inbox.created' => 'desc'
|
||||
]
|
||||
],
|
||||
];
|
||||
|
||||
public function beforeFilter(EventInterface $event)
|
||||
|
|
|
@ -44,12 +44,12 @@ echo $this->element('genericElements/IndexTable/index_table', [
|
|||
'fields' => [
|
||||
[
|
||||
'name' => '#',
|
||||
'sort' => 'id',
|
||||
'sort' => 'Inbox.id',
|
||||
'data_path' => 'id',
|
||||
],
|
||||
[
|
||||
'name' => 'created',
|
||||
'sort' => 'created',
|
||||
'sort' => 'Inbox.created',
|
||||
'data_path' => 'created',
|
||||
'element' => 'datetime'
|
||||
],
|
||||
|
@ -87,7 +87,7 @@ echo $this->element('genericElements/IndexTable/index_table', [
|
|||
],
|
||||
[
|
||||
'name' => 'user',
|
||||
'sort' => 'user_id',
|
||||
'sort' => 'Inbox.user_id',
|
||||
'data_path' => 'user',
|
||||
'element' => 'user'
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue