1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00

Update TimelineController

This commit is contained in:
Daniel Supernault 2018-10-09 19:23:42 -06:00
parent 614b951c5e
commit 679a566466
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -29,6 +29,7 @@ class TimelineController extends Controller
->pluck('filterable_id');
$timeline = Status::whereIn('profile_id', $following)
->whereNotIn('profile_id', $filtered)
->whereVisibility('public')
->orderBy('created_at', 'desc')
->withCount(['comments', 'likes'])
->simplePaginate(20);