add_orderby_small_fixes

This commit is contained in:
SoHardKI
2019-07-04 12:29:42 +03:00
parent 1cf00f1f85
commit b807262a99
9 changed files with 14 additions and 9 deletions

View File

@ -67,6 +67,7 @@ class ProjectSearch extends Project
$query->andFilterWhere(['like', 'name', $this->name])
->andFilterWhere(['like', 'description', $this->description]);
$query->orderBy('created_at DESC');
return $dataProvider;
}