fix project

This commit is contained in:
andrey 2022-10-26 18:48:05 +03:00
parent a25cdf3796
commit 018be9a598

View File

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