Felipe Mateus 2 месяцев назад
Родитель
Сommit
11a5fa9314
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Http/Controllers/PublicApiController.php

+ 1 - 1
app/Http/Controllers/PublicApiController.php

@@ -720,7 +720,7 @@ class PublicApiController extends Controller
             })
             ->whereIn('type', $scope)
             ->whereIn('scope', $visibility)
-            ->orderByDesc('id')
+            ->orderByDesc('created_at')
             ->cursorPaginate($remainingLimit)
             ->withQueryString();