Users: Fix "Last active" displaying incorrect value instead of "Never" (#115825)

This commit is contained in:
Victor Cinaglia
2026-01-09 16:56:24 -03:00
committed by GitHub
parent c42421e616
commit e983aac141
10 changed files with 45 additions and 6 deletions
+1 -1
View File
@@ -541,7 +541,7 @@ func (ss *sqlStore) Search(ctx context.Context, query *user.SearchUsersQuery) (*
sess.Limit(query.Limit, offset)
}
sess.Cols("u.id", "u.uid", "u.email", "u.name", "u.login", "u.is_admin", "u.is_disabled", "u.last_seen_at", "user_auth.auth_module", "u.is_provisioned")
sess.Cols("u.id", "u.uid", "u.email", "u.name", "u.login", "u.is_admin", "u.is_disabled", "u.last_seen_at", "user_auth.auth_module", "u.is_provisioned", "u.created")
if len(query.SortOpts) > 0 {
for i := range query.SortOpts {