1
0
Fork 0
forked from mirror/pixelfed

Update discover controller

This commit is contained in:
Daniel Supernault 2018-09-21 23:44:33 -06:00
parent 809423914f
commit 5ab2fe1090
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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);