1
0
Fork 0

Update SearchApiV2Service, order statuses by timestamp

This commit is contained in:
Daniel Supernault 2020-02-07 01:33:03 -07:00
parent d3cd0eea11
commit c66d120cb7
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 0 deletions

View File

@ -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();