Skip to content

Commit

Permalink
Restore sorting
Browse files Browse the repository at this point in the history
Clean this up in a separate refactoring
  • Loading branch information
vrajmohan committed Dec 20, 2024
1 parent 12540a3 commit 8897a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class User < ApplicationRecord
attr_accessor :asserted_attributes, :email

def confirmed_email_addresses
email_addresses.confirmed
email_addresses.confirmed.order('last_sign_in_at DESC NULLS LAST')
end

def fully_registered?
Expand Down

0 comments on commit 8897a7e

Please sign in to comment.