mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
FIX: actually retrieve the first 2 posts in a conversation about a flag
This commit is contained in:
@@ -76,6 +76,7 @@ class Topic < ActiveRecord::Base
|
||||
|
||||
belongs_to :category
|
||||
has_many :posts
|
||||
has_many :ordered_posts, -> { order(post_number: :asc) }, class_name: "Post"
|
||||
has_many :topic_allowed_users
|
||||
has_many :topic_allowed_groups
|
||||
|
||||
|
||||
Reference in New Issue
Block a user