Commit be50cffca6e702f52dfb4af79e7224ebe5f206d2
1 parent
06a9fe94
- address
Showing
2 changed files
with
7 additions
and
1 deletions
Show diff stats
backend/controllers/FeedbackController.php
... | ... | @@ -52,12 +52,18 @@ |
52 | 52 | ], |
53 | 53 | 'status' => [ |
54 | 54 | 'type' => Index::STATUS_COL, |
55 | + ], | |
56 | + 'created_at' => [ | |
57 | + 'type' => Index::DATETIME_COL | |
55 | 58 | ] |
56 | 59 | ], |
57 | 60 | 'model' => Feedback::className(), |
58 | 61 | 'hasLanguage' => false, |
59 | 62 | 'enableMassDelete' => true, |
60 | 63 | 'modelPrimaryKey' => 'id', |
64 | + 'defaultSort' => [ | |
65 | + 'created_at' => 'DESC' | |
66 | + ] | |
61 | 67 | ], |
62 | 68 | 'view' => [ |
63 | 69 | 'class' => View::className(), | ... | ... |
frontend/web/js/gmaps.init.js