mirror of https://github.com/pixelfed/pixelfed.git
Update ProfileController
This commit is contained in:
parent
f0121d761a
commit
5b5a9d0a3a
|
@ -62,6 +62,7 @@ class ProfileController extends Controller
|
||||||
->whereHas('media')
|
->whereHas('media')
|
||||||
->whereNull('in_reply_to_id')
|
->whereNull('in_reply_to_id')
|
||||||
->whereNull('reblog_of_id')
|
->whereNull('reblog_of_id')
|
||||||
|
->whereIn('visibility', ['public', 'unlisted'])
|
||||||
->orderBy('created_at', 'desc')
|
->orderBy('created_at', 'desc')
|
||||||
->withCount(['comments', 'likes'])
|
->withCount(['comments', 'likes'])
|
||||||
->simplePaginate(21);
|
->simplePaginate(21);
|
||||||
|
|
Loading…
Reference in New Issue