소스 검색

Update SearchApiV2Service, order statuses by timestamp

Daniel Supernault 5 년 전
부모
커밋
c66d120cb7
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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();