#NEWLINE# def _selected_group_entries( self , mobile_user_and_group_slugs ) : #NEWLINE# #INDENT# query_results = self . _selected_groups_query ( mobile_user_and_group_slugs ) #NEWLINE# reporting = [ self . utils . reporting_group_tuple ( group ) for group in query_results if group . get ( 'reporting' , False ) ] #NEWLINE# sharing = [ self . utils . sharing_group_tuple ( group ) for group in reporting if group . get ( 'case_sharing' , False ) ] #NEWLINE# return ( reporting + sharing )