mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
orderBy reputation
This commit is contained in:
@@ -17,10 +17,13 @@ class HighscoreTable extends Component
|
||||
{
|
||||
return view('livewire.book-case.highscore-table', [
|
||||
'plebs' => User::query()
|
||||
->with([
|
||||
'reputations',
|
||||
])
|
||||
->withCount([
|
||||
'orangePills',
|
||||
])
|
||||
->orderByDesc('orange_pills_count')
|
||||
->orderByDesc('reputation')
|
||||
->get(),
|
||||
])->layout('layouts.app', [
|
||||
'SEOData' => new SEOData(
|
||||
|
||||
Reference in New Issue
Block a user