From 914b0e49657d25ae0c8ea792f3967b92d7ce9a2c Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 1 Jul 2019 23:13:43 -0600 Subject: [PATCH] Update StatusHashtagService --- app/Services/StatusHashtagService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Services/StatusHashtagService.php b/app/Services/StatusHashtagService.php index 0c512072..4f876a68 100644 --- a/app/Services/StatusHashtagService.php +++ b/app/Services/StatusHashtagService.php @@ -32,6 +32,7 @@ class StatusHashtagService { { $stop = $stop > 2000 ? 2000 : $stop; $ids = StatusHashtag::whereHashtagId($id) + ->whereHas('media') ->latest() ->skip($start) ->take($stop)