@ -119,7 +119,7 @@ class Account < ApplicationRecord
scope:by_recent_status,->{order(Arel.sql('(case when account_stats.last_status_at is null then 1 else 0 end) asc, account_stats.last_status_at desc, accounts.id desc'))}
scope:by_recent_sign_in,->{order(Arel.sql('(case when users.current_sign_in_at is null then 1 else 0 end) asc, users.current_sign_in_at desc, accounts.id desc'))}