mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Missing post_number in searching within a topic
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class SearchPostSerializer < BasicPostSerializer
|
||||
has_one :topic, serializer: TopicListItemSerializer
|
||||
|
||||
attributes :like_count, :blurb
|
||||
attributes :like_count, :blurb, :post_number
|
||||
|
||||
def blurb
|
||||
options[:result].blurb(object)
|
||||
|
||||
Reference in New Issue
Block a user