mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05: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…
Reference in a new issue