From 4284aa5177a347b60128394733a621604a223a07 Mon Sep 17 00:00:00 2001 From: Dominic Cerquetti Date: Fri, 17 Jun 2016 09:56:44 -0400 Subject: [PATCH] fix checkin erasing unrelated fields like interest, assigned_depts, etc --- uber/site_sections/registration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uber/site_sections/registration.py b/uber/site_sections/registration.py index 4c84df9a8..fcb8afedd 100644 --- a/uber/site_sections/registration.py +++ b/uber/site_sections/registration.py @@ -327,7 +327,7 @@ def check_in_form(self, session, id): @ajax def check_in(self, session, message='', **params): - attendee = session.attendee(params, checkgroups=Attendee.all_checkgroups, bools=Attendee.all_bools, allow_invalid=True) + attendee = session.attendee(params, allow_invalid=True) group = session.group(attendee.group_id) if attendee.group_id else None pre_badge = attendee.badge_num @@ -631,7 +631,7 @@ def manual_reg_charge(self, session, payment_id, stripeToken): @csrf_protected def new_checkin(self, session, message='', **params): - attendee = session.attendee(params, checkgroups=Attendee.all_checkgroups, bools=Attendee.all_bools, allow_invalid=True) + attendee = session.attendee(params, allow_invalid=True) group = session.group(attendee.group_id) if attendee.group_id else None checked_in = ''