Skip to content

Commit

Permalink
Merge pull request #1879 from magfest/fix_checkin_form
Browse files Browse the repository at this point in the history
fix checkin erasing unrelated fields like interest, assigned_depts, etc
  • Loading branch information
binary1230 committed Jun 17, 2016
2 parents 44f760f + 4284aa5 commit d95689f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uber/site_sections/registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 = ''
Expand Down

0 comments on commit d95689f

Please sign in to comment.