public function actionIndex() { $dataProvider = new ActiveDataProvider(['query' => ArticleComment::find()->where(['published' => null])->orderBy(['updated_at' => SORT_DESC])]); return $this->render('index', ['dataProvider' => $dataProvider]); }