X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/e15fcf5b50e1831a90a04ded09f24e0c7b31d02e..refs/pull/2334/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(); } /**