FIX: Missing `post_number` in searching within a topic
This commit is contained in:
parent
4bb6f88181
commit
748a9e008f
|
@ -1,7 +1,7 @@
|
||||||
class SearchPostSerializer < BasicPostSerializer
|
class SearchPostSerializer < BasicPostSerializer
|
||||||
has_one :topic, serializer: TopicListItemSerializer
|
has_one :topic, serializer: TopicListItemSerializer
|
||||||
|
|
||||||
attributes :like_count, :blurb
|
attributes :like_count, :blurb, :post_number
|
||||||
|
|
||||||
def blurb
|
def blurb
|
||||||
options[:result].blurb(object)
|
options[:result].blurb(object)
|
||||||
|
|
Loading…
Reference in New Issue