Skip to content

Commit

Permalink
Do not rely on dedicated column
Browse files Browse the repository at this point in the history
It has been deleted and there now is a helper for that
  • Loading branch information
kronn committed Sep 3, 2024
1 parent 83c504b commit bab48c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/population_controller.rb
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -49,7 +49,7 @@ def load_people(group)
.unscope(:joins)
.select("people.*")
.order_by_role
.order("sort_name")
.order_by_name
end

def authorize
Expand Down

0 comments on commit bab48c0

Please sign in to comment.