mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: 'read' filter in top menu showing new topics
This commit is contained in:
@@ -165,7 +165,7 @@ class TopicQuery
|
||||
|
||||
def list_read
|
||||
create_list(:read, unordered: true) do |topics|
|
||||
topics.order('COALESCE(tu.last_visited_at, topics.bumped_at) DESC')
|
||||
topics.where('tu.last_visited_at IS NOT NULL').order('tu.last_visited_at DESC')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user