diff --git a/lib/topic_view.rb b/lib/topic_view.rb index d5014768ef0..bb55e30e0a7 100644 --- a/lib/topic_view.rb +++ b/lib/topic_view.rb @@ -410,7 +410,7 @@ class TopicView def bookmarks @bookmarks ||= @topic.bookmarks.where(user: @user).joins(:topic).select( :id, :post_id, "topics.id AS topic_id", :for_topic, :reminder_at, :name, :auto_delete_preference - ) + ).order(:id) end MAX_PARTICIPANTS = 24