report fix

This commit is contained in:
akosse
2020-02-05 16:28:37 +03:00
parent 3da2dd1543
commit 6d37a8ef18
14 changed files with 144 additions and 36 deletions

View File

@ -48,6 +48,11 @@ class ReportsSearch extends Reports
$dataProvider = new ActiveDataProvider([
'query' => $query,
'sort' => [
'defaultOrder' => [
'created_at' => SORT_DESC,
]
],
]);
$this->load($params);