mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 16:22:20 +08:00
FIX: going from /categories to /latest on mobile might break infinite scrolling
This commit is contained in:
@ -401,7 +401,7 @@ class TopicQuery
|
||||
end
|
||||
|
||||
list = TopicList.new(filter, @user, topics, options.merge(@options))
|
||||
list.per_page = per_page_setting
|
||||
list.per_page = options[:per_page] || per_page_setting
|
||||
list
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user