Commit 93374cfd authored by Shakarim Sapa's avatar Shakarim Sapa

- Добавили обратную сортировку по датам

parent c64be59c
......@@ -24,7 +24,7 @@ class BlogScheduleAdminController extends AdminController {
public function actionManage(){
$dataProvider = new ActiveDataProvider([
'query' => BlogSchedule::find()
'query' => BlogSchedule::find()->orderBy(['date DESC'])
]);
return $this->render(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment