fix: incorrect sort keys

pull/7633/head
Luciano Righetti 2021-08-10 12:12:28 +02:00
parent f73a1e710e
commit ca0e54d341
1 changed files with 3 additions and 3 deletions

View File

@ -14,17 +14,17 @@ echo $this->element('genericElements/IndexTable/scaffold', [
],
[
'name' => __('User'),
'sort' => 'User',
'sort' => 'email',
'data_path' => 'User.email'
],
[
'name' => __('Title'),
'sort' => 'News.title',
'sort' => 'title',
'data_path' => 'News.title'
],
[
'name' => __('Message'),
'sort' => 'Message',
'sort' => 'message',
'data_path' => 'News.message'
],
[