Skip to content

Commit

Permalink
added widget order by rank
Browse files Browse the repository at this point in the history
  • Loading branch information
schmunk42 committed Oct 18, 2011
1 parent dc19903 commit a6fd83a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/P3WidgetContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ function run() {
$criteria->params[':requestParam'] = null;
}
}

$criteria->order = "rank ASC";

$models = Widget::model()->findAll($criteria);

// render widgets
Expand Down

0 comments on commit a6fd83a

Please sign in to comment.