mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 00:05:29 +00:00
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();
|
||||
|
||||
$posts = $tag->posts()
|
||||
->whereNull('url')
|
||||
->whereNull('uri')
|
||||
->whereHas('media')
|
||||
->withCount(['likes', 'comments'])
|
||||
->whereIsNsfw(false)
|
||||
|
|
Loading…
Reference in a new issue