Commit 72740c38 authored by Tobias Munk's avatar Tobias Munk

fixed order (rank)

parent ddcb88f4
...@@ -38,6 +38,7 @@ class WidgetContainer extends Widget ...@@ -38,6 +38,7 @@ class WidgetContainer extends Widget
{ {
\Yii::trace(\Yii::$app->requestedRoute, __METHOD__); \Yii::trace(\Yii::$app->requestedRoute, __METHOD__);
$models = WidgetContent::find() $models = WidgetContent::find()
->orderBy('rank')
->where( ->where(
[ [
'container_id' => $this->id, 'container_id' => $this->id,
......
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