Browse Source

Update SearchApiV2Service, order statuses by timestamp

Daniel Supernault 5 years ago
parent
commit
c66d120cb7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Services/SearchApiV2Service.php

+ 1 - 0
app/Services/SearchApiV2Service.php

@@ -132,6 +132,7 @@ class SearchApiV2Service
 				return $q->offset($offset);
 			})
 			->limit($limit)
+			->orderByDesc('created_at')
 			->get();
 
 		$fractal = new Fractal\Manager();