app/soc/views/models/request.py
changeset 1181 6fb4134e1dfc
parent 1085 0afbdd0905ef
child 1229 ec3768cbf369
equal deleted inserted replaced
1180:6290c9e49848 1181:6fb4134e1dfc
   192       params: a dict with params for this View
   192       params: a dict with params for this View
   193       kwargs: not used
   193       kwargs: not used
   194     """
   194     """
   195 
   195 
   196     # get the current user
   196     # get the current user
   197     properties = {'account': users.get_current_user()}
   197     user_entity = user_logic.logic.getForCurrentAccount()
   198     user_entity = user_logic.logic.getForFields(properties, unique=True)
       
   199 
   198 
   200     # construct the Unhandled Invites list
   199     # construct the Unhandled Invites list
   201 
   200 
   202     # only select the Invites for this user that haven't been handled yet
   201     # only select the Invites for this user that haven't been handled yet
   203     filter = {'link_id': user_entity.link_id,
   202     filter = {'link_id': user_entity.link_id,