mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Update StatusHashtagService
This commit is contained in:
parent
7ffb4c4a45
commit
914b0e4965
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ class StatusHashtagService {
|
||||||
{
|
{
|
||||||
$stop = $stop > 2000 ? 2000 : $stop;
|
$stop = $stop > 2000 ? 2000 : $stop;
|
||||||
$ids = StatusHashtag::whereHashtagId($id)
|
$ids = StatusHashtag::whereHashtagId($id)
|
||||||
|
->whereHas('media')
|
||||||
->latest()
|
->latest()
|
||||||
->skip($start)
|
->skip($start)
|
||||||
->take($stop)
|
->take($stop)
|
||||||
|
|
Loading…
Add table
Reference in a new issue