forked from mirror/pixelfed
Update DiscoverController, fixes #520
This commit is contained in:
parent
5695cfaab5
commit
d06a3068ed
|
@ -82,6 +82,7 @@ class DiscoverController extends Controller
|
|||
->firstOrFail();
|
||||
|
||||
$posts = $tag->posts()
|
||||
->withCount(['likes', 'comments'])
|
||||
->whereIsNsfw(false)
|
||||
->whereVisibility('public')
|
||||
->has('media')
|
||||
|
|
Loading…
Reference in New Issue