1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-01-30 10:52:18 +00:00

Update StatusHashtagService

This commit is contained in:
Daniel Supernault 2019-07-01 23:13:43 -06:00
parent 7ffb4c4a45
commit 914b0e4965
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -32,6 +32,7 @@ class StatusHashtagService {
{
$stop = $stop > 2000 ? 2000 : $stop;
$ids = StatusHashtag::whereHashtagId($id)
->whereHas('media')
->latest()
->skip($start)
->take($stop)