Fixed order of comments
This commit is contained in:
parent
ad8e3bdcd5
commit
25f1e5b83d
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class CommentController extends AbstractController
|
|||
$data[] = [
|
||||
'post' => $this->postViewProxy->fromEntity($post),
|
||||
'comments' => $this->commentViewProxy->fromArray(
|
||||
$this->commentService->getByPost($post),
|
||||
array_reverse($this->commentService->getByPost($post)),
|
||||
$this->getCommentsFetchConfig()),
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue