mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
make category's RSS feed actually order by topic.created_at
This commit is contained in:
parent
085493e35d
commit
e7b5774bc6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue