make category's RSS feed actually order by topic.created_at
This commit is contained in:
parent
085493e35d
commit
e7b5774bc6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue