Преглед изворни кода

Merge pull request #6081 from eufelipemateus/adjust-oderby-statuses-profile

fix: ordery by statutes profile
(dan)iel (sup)ernault пре 3 недеља
родитељ
комит
2e0b3829a3
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();