mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update SearchApiV2Service, order statuses by timestamp
This commit is contained in:
parent
d3cd0eea11
commit
c66d120cb7
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ class SearchApiV2Service
|
||||||
return $q->offset($offset);
|
return $q->offset($offset);
|
||||||
})
|
})
|
||||||
->limit($limit)
|
->limit($limit)
|
||||||
|
->orderByDesc('created_at')
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
$fractal = new Fractal\Manager();
|
$fractal = new Fractal\Manager();
|
||||||
|
|
Loading…
Reference in a new issue