Felipe Mateus 2 місяців тому
батько
коміт
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();