Permalink
Browse files

added widget order by rank

  • Loading branch information...
schmunk42 committed Oct 18, 2011
1 parent dc19903 commit a6fd83a1660b7eb1dab56541f6432b9be8f27009
Showing with 3 additions and 0 deletions.
  1. +3 −0 components/P3WidgetContainer.php
@@ -81,6 +81,9 @@ function run() {
$criteria->params[':requestParam'] = null;
}
}
+
+ $criteria->order = "rank ASC";
+
$models = Widget::model()->findAll($criteria);
// render widgets

0 comments on commit a6fd83a

Please sign in to comment.