diff --git a/app/controllers/list_controller.rb b/app/controllers/list_controller.rb index 1e50370eda5..0bb05b16c8b 100644 --- a/app/controllers/list_controller.rb +++ b/app/controllers/list_controller.rb @@ -92,7 +92,7 @@ class ListController < ApplicationController @link = "#{Discourse.base_url}/#{filter}" @description = I18n.t("rss_description.#{filter}") @atom_link = "#{Discourse.base_url}/#{filter}.rss" - @topic_list = TopicQuery.new(nil, order: 'activity').public_send("list_#{filter}") + @topic_list = TopicQuery.new(nil, order: 'created').public_send("list_#{filter}") render 'list', formats: [:rss] end diff --git a/lib/topic_query.rb b/lib/topic_query.rb index 02160c3b0e9..9dd9f66a564 100644 --- a/lib/topic_query.rb +++ b/lib/topic_query.rb @@ -34,7 +34,8 @@ class TopicQuery 'posts' => 'posts_count', 'activity' => 'bumped_at', 'posters' => 'participant_count', - 'category' => 'category_id' + 'category' => 'category_id', + 'created' => 'created_at' } def initialize(user=nil, options={})