X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a6633642232efd164d4708967ab59e498fbff896..refs/pull/2902/head:/app/Auth/Role.php diff --git a/app/Auth/Role.php b/app/Auth/Role.php index 629cd6a95..dcd960948 100644 --- a/app/Auth/Role.php +++ b/app/Auth/Role.php @@ -1,4 +1,6 @@ -where('system_name', '!=', 'admin')->get(); + return static::query() + ->where('system_name', '!=', 'admin') + ->orderBy('display_name', 'asc') + ->get(); } /**