chg: [inbox:index] Sort messages by created datetime
parent
a59f59ba0d
commit
7c557f6d85
|
@ -20,6 +20,12 @@ class InboxController extends AppController
|
|||
public $quickFilterFields = ['scope', 'action', ['title' => true], ['comment' => true]];
|
||||
public $containFields = ['Users'];
|
||||
|
||||
public $paginate = [
|
||||
'order' => [
|
||||
'Inbox.created' => 'desc'
|
||||
]
|
||||
];
|
||||
|
||||
public function beforeFilter(EventInterface $event)
|
||||
{
|
||||
parent::beforeFilter($event);
|
||||
|
|
Loading…
Reference in New Issue