diff --git a/app/controllers/population_controller.rb b/app/controllers/population_controller.rb index 94b73c4..333f935 100644 --- a/app/controllers/population_controller.rb +++ b/app/controllers/population_controller.rb @@ -1,4 +1,4 @@ -# Copyright (c) 2012-2014, CEVI Regionalverband ZH-SH-GL. This file is part of +# Copyright (c) 2012-2024, CEVI Regionalverband ZH-SH-GL. This file is part of # hitobito_cevi and licensed under the Affero General Public License version 3 # or later. See the COPYING file at the top-level directory or at # https://github.com/hitobito/hitobito_cevi. @@ -49,7 +49,7 @@ def load_people(group) .unscope(:joins) .select("people.*") .order_by_role - .order("sort_name") + .order_by_name end def authorize