- fix

parent 287f11ca
...@@ -4,7 +4,7 @@ use yii\helpers\Html; ...@@ -4,7 +4,7 @@ use yii\helpers\Html;
$reviews = Reviews::find() $reviews = Reviews::find()
->where(['state' => 'active']) ->where(['state' => 'active'])
->orderBy('created_at DESC') ->orderBy(['priority' => SORT_ASC])
->limit(1) ->limit(1)
->all(); ->all();
?> ?>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment