Skip to content

Commit

Permalink
fix #226
Browse files Browse the repository at this point in the history
  • Loading branch information
ScuffedNewt committed Dec 5, 2023
1 parent a493f4c commit e73f04f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/Admin/Users/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ public function getIndex(Request $request) {
$query->orderBy('name', 'DESC');
break;
case 'alias':
$query->orderBy('alias', 'ASC');
$query->aliasSort();
break;
case 'alias-reverse':
$query->orderBy('alias', 'DESC');
$query->aliasSort(true);
break;
case 'rank':
$query->orderBy('ranks.sort', 'DESC')->orderBy('name');
Expand Down

0 comments on commit e73f04f

Please sign in to comment.