make category's RSS feed actually order by topic.created_at

This commit is contained in:
Alexander 2013-09-20 14:36:19 -07:00
parent 085493e35d
commit e7b5774bc6
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ class TopicQuery
end
def list_new_in_category(category)
create_list(:new_in_category) {|l| l.where(category_id: category.id).by_newest.first(25)}
create_list(:new_in_category, unordered: true) {|l| l.where(category_id: category.id).by_newest.first(25)}
end
def self.new_filter(list, treat_as_new_topic_start_date)