2961 - Исправить приоритеты отображения

parent 4273073f
...@@ -11,7 +11,7 @@ $models = CaseContent::find() ...@@ -11,7 +11,7 @@ $models = CaseContent::find()
'category_id' => 6, 'category_id' => 6,
'active' => true 'active' => true
]) ])
->orderBy('position ASC') ->orderBy(['position' => SORT_ASC])
->all(); ->all();
?> ?>
<?php if ($models) : ?> <?php if ($models) : ?>
......
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