mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-22 04:45:46 -04:00
Order latest.rss by created_at, not updated_at
This commit is contained in:
parent
2e7b69f849
commit
ce381860dc
1 changed files with 1 additions and 1 deletions
|
@ -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.public_send("list_#{filter}")
|
||||
@topic_list = TopicQuery.new(nil, order: 'activity').public_send("list_#{filter}")
|
||||
|
||||
render 'list', formats: [:rss]
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue