From 018be9a59801bee961dfa8d5995535c5fc1d374a Mon Sep 17 00:00:00 2001 From: andrey Date: Wed, 26 Oct 2022 18:48:05 +0300 Subject: [PATCH] fix project --- backend/modules/project/models/ProjectSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }