summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/model/User_model.php1
1 files changed, 1 insertions, 0 deletions
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();
}