mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-14 02:24:31 +00:00
Update PublicApiController, order accountStatuses by id
This commit is contained in:
parent
6e8e9a2d5e
commit
8efe14cc4b
1 changed files with 1 additions and 2 deletions
|
@ -567,9 +567,8 @@ class PublicApiController extends Controller
|
||||||
->whereIn('type', $scope)
|
->whereIn('type', $scope)
|
||||||
->where('id', $dir, $id)
|
->where('id', $dir, $id)
|
||||||
->whereIn('visibility', $visibility)
|
->whereIn('visibility', $visibility)
|
||||||
->latest()
|
|
||||||
->limit($limit)
|
->limit($limit)
|
||||||
->orderByDesc('created_at')
|
->orderByDesc('id')
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
$resource = new Fractal\Resource\Collection($timeline, new StatusTransformer());
|
$resource = new Fractal\Resource\Collection($timeline, new StatusTransformer());
|
||||||
|
|
Loading…
Reference in a new issue