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 HhSearch extends Hh
$query->andFilterWhere(['like', 'url', $this->url])
->andFilterWhere(['like', 'title', $this->title])
->andFilterWhere(['like', 'photo', $this->photo]);
$query->orderBy('dt_add DESC');
return $dataProvider;
}