mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FIX: Missing post_number
in searching within a topic
This commit is contained in:
parent
4bb6f88181
commit
748a9e008f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue