Skip to content

Commit

Permalink
Sort member list by last name first
Browse files Browse the repository at this point in the history
  • Loading branch information
zenspider committed Sep 27, 2024
1 parent 718a641 commit b3bc901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/members_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class MembersController < ApplicationController
def index
@members = Member.verified.all
@members = Member.verified.all.sort_by { |m| m.name.split.rotate(1) }
@title = "Members"
end

Expand Down

0 comments on commit b3bc901

Please sign in to comment.