mirror of https://github.com/pixelfed/pixelfed.git
Update discover controller
This commit is contained in:
parent
809423914f
commit
5ab2fe1090
|
@ -60,6 +60,7 @@ class DiscoverController extends Controller
|
|||
->whereVisibility('public')
|
||||
->where('profile_id', '!=', $pid)
|
||||
->whereNotIn('profile_id', $following)
|
||||
->withCount(['comments', 'likes'])
|
||||
->orderBy('created_at', 'desc')
|
||||
->simplePaginate(21);
|
||||
|
||||
|
|
Loading…
Reference in New Issue