diff --git a/controllers/FeedController.php b/controllers/FeedController.php index db5805a..a99def0 100644 --- a/controllers/FeedController.php +++ b/controllers/FeedController.php @@ -38,7 +38,7 @@ class FeedController extends Controller // --------- ARTICLES $articles = Article::model()->getAll(array( 'where' => '`status` = "published"', - 'order' => '`id` DESC', + 'order' => '`pubDate` DESC', 'limit' => 5, )); foreach ($articles as $article) {