forked from mirror/pixelfed
Update PublicApiController, order accountStatuses by id
This commit is contained in:
parent
6e8e9a2d5e
commit
8efe14cc4b
|
@ -567,9 +567,8 @@ class PublicApiController extends Controller
|
|||
->whereIn('type', $scope)
|
||||
->where('id', $dir, $id)
|
||||
->whereIn('visibility', $visibility)
|
||||
->latest()
|
||||
->limit($limit)
|
||||
->orderByDesc('created_at')
|
||||
->orderByDesc('id')
|
||||
->get();
|
||||
|
||||
$resource = new Fractal\Resource\Collection($timeline, new StatusTransformer());
|
||||
|
|
Loading…
Reference in New Issue