Update SearchApiV2Service, order hashtag results by cached_count

This commit is contained in:
Daniel Supernault 2023-03-04 14:50:52 -07:00
parent a6d37e89d2
commit 593de9e34f
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -131,6 +131,7 @@ class SearchApiV2Service
return $q->where('can_search', true)
->orWhereNull('can_search');
})
->orderByDesc('cached_count')
->offset($offset)
->limit($limit)
->get()