From bab48c03da0c24fe743a53a43ec329a804994a64 Mon Sep 17 00:00:00 2001 From: Matthias Viehweger Date: Tue, 3 Sep 2024 14:54:46 +0200 Subject: [PATCH] Do not rely on dedicated column It has been deleted and there now is a helper for that --- app/controllers/population_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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