forked from mirror/pixelfed
Update SearchApiV2Service, order statuses by timestamp
This commit is contained in:
parent
d3cd0eea11
commit
c66d120cb7
|
@ -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 New Issue