diff --git a/lib/topic_view.rb b/lib/topic_view.rb index c3d5d2e95ba..675b543b2d0 100644 --- a/lib/topic_view.rb +++ b/lib/topic_view.rb @@ -749,7 +749,6 @@ class TopicView end def filter_posts_by_ids(post_ids) - # TODO: Sort might be off @posts = Post.where(id: post_ids, topic_id: @topic.id) .includes( { user: :primary_group },