mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update TimelineController
This commit is contained in:
parent
614b951c5e
commit
679a566466
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue