diff --git a/backend/modules/project/models/ProjectSearch.php b/backend/modules/project/models/ProjectSearch.php index d06dacc..209a2a7 100755 --- a/backend/modules/project/models/ProjectSearch.php +++ b/backend/modules/project/models/ProjectSearch.php @@ -67,7 +67,7 @@ class ProjectSearch extends Project $query->andFilterWhere(['like', 'name', $this->name]) ->andFilterWhere(['like', 'description', $this->description]); - $query->orderBy('created_at DESC'); + $query->orderBy('id DESC'); return $dataProvider; }