forked from mirror/pixelfed
Update DiscoverController
This commit is contained in:
parent
591e50541e
commit
c819bfe351
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ class DiscoverController extends Controller
|
||||||
->firstOrFail();
|
->firstOrFail();
|
||||||
|
|
||||||
$posts = $tag->posts()
|
$posts = $tag->posts()
|
||||||
|
->whereNull('url')
|
||||||
|
->whereNull('uri')
|
||||||
->whereHas('media')
|
->whereHas('media')
|
||||||
->withCount(['likes', 'comments'])
|
->withCount(['likes', 'comments'])
|
||||||
->whereIsNsfw(false)
|
->whereIsNsfw(false)
|
||||||
|
|
Loading…
Reference in a new issue