Ver código fonte

Merge pull request #1353 from pixelfed/frontend-ui-refactor

Update InternalApiController
daniel 6 anos atrás
pai
commit
972abf1574
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      app/Http/Controllers/InternalApiController.php

+ 2 - 2
app/Http/Controllers/InternalApiController.php

@@ -118,8 +118,8 @@ class InternalApiController extends Controller
               ->whereVisibility('public')
               ->whereNotIn('profile_id', $following)
               ->with('media')
-              ->orderBy('created_at', 'desc')
-              ->take(21)
+              ->inRandomOrder()
+              ->take(36)
               ->get();
 
         $res = [