Merge pull request #4427 from MrZYX/spv_comments_order
spv comments order
This commit is contained in:
commit
5e177bf052
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ class PostInteractionPresenter
|
|||
{
|
||||
:likes => as_api(@post.likes),
|
||||
:reshares => PostPresenter.collection_json(@post.reshares, @current_user),
|
||||
:comments => CommentPresenter.as_collection(@post.comments),
|
||||
:comments => CommentPresenter.as_collection(@post.comments.order('created_at ASC')),
|
||||
:participations => as_api(@post.participations)
|
||||
}
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue