X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a95588dc2ea1d382b2a9533fbea7cc2b9adadd43..refs/pull/2336/head:/app/Auth/UserRepo.php diff --git a/app/Auth/UserRepo.php b/app/Auth/UserRepo.php index cfa7bfce1..fdb8c0923 100644 --- a/app/Auth/UserRepo.php +++ b/app/Auth/UserRepo.php @@ -238,7 +238,7 @@ class UserRepo */ public function getAllRoles() { - return $this->role->newQuery()->orderBy('name', 'asc')->get(); + return $this->role->newQuery()->orderBy('display_name', 'asc')->get(); } /**