Closed CJau closed 4 years ago
For some reason, our database is not sending posts out in the order they were created. Adding an orderBy('created_at') on the Thread->posts relation ensures they always come out in the expected order.
Looks good. Thanks for the PR 👍
For some reason, our database is not sending posts out in the order they were created. Adding an orderBy('created_at') on the Thread->posts relation ensures they always come out in the expected order.