Update SearchApiV2Service, order hashtag results by cached_count

pull/4223/head
Daniel Supernault 2023-03-04 14:50:52 -07:00
rodzic a6d37e89d2
commit 593de9e34f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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