FIX: Missing post_number in searching within a topic

This commit is contained in:
Robin Ward 2016-08-10 17:54:30 -04:00
parent 4bb6f88181
commit 748a9e008f

View file

@ -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)