mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-26 06:53:17 +00:00
Update SearchApiV2Service, order hashtag results by cached_count
This commit is contained in:
parent
a6d37e89d2
commit
593de9e34f
1 changed files with 1 additions and 0 deletions
|
@ -131,6 +131,7 @@ class SearchApiV2Service
|
|||
return $q->where('can_search', true)
|
||||
->orWhereNull('can_search');
|
||||
})
|
||||
->orderByDesc('cached_count')
|
||||
->offset($offset)
|
||||
->limit($limit)
|
||||
->get()
|
||||
|
|
Loading…
Reference in a new issue