From 689735ad51a8ec7bd18c60be3407abf3bc17e228 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Thu, 27 Dec 2018 14:16:09 +0100 Subject: Sort users on team page --- includes/model/User_model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/model/User_model.php b/includes/model/User_model.php index 304816e8..c8fbee47 100644 --- a/includes/model/User_model.php +++ b/includes/model/User_model.php @@ -104,6 +104,7 @@ function Users_by_angeltype($angeltype) ->join('UserAngelTypes', 'users.id', '=', 'UserAngelTypes.user_id') ->leftJoin('UserDriverLicenses', 'users.id', '=', 'UserDriverLicenses.user_id') ->where('UserAngelTypes.angeltype_id', '=', $angeltype['id']) + ->orderBy('users.name') ->get(); } -- cgit v1.2.3-70-g09d2