File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,8 +62,7 @@ def get_areas():
6262def get_area_list_from_sessions (scheduledsessions , num ):
6363 return scheduledsessions .filter (timeslot__type = 'Session' ,
6464 session__group__parent__isnull = False ).order_by (
65- 'session__group__parent__acronym' ).distinct (
66- 'session__group__parent__acronym' ).values_list (
65+ 'session__group__parent__acronym' ).distinct ().values_list (
6766 'session__group__parent__acronym' ,flat = True )
6867
6968def build_all_agenda_slices (scheduledsessions , all = False ):
@@ -103,8 +102,7 @@ def get_wg_name_list(scheduledsessions):
103102 return scheduledsessions .filter (timeslot__type = 'Session' ,
104103 session__group__isnull = False ,
105104 session__group__parent__isnull = False ).order_by (
106- 'session__group__acronym' ).distinct (
107- 'session__group' ).values_list (
105+ 'session__group__acronym' ).distinct ().values_list (
108106 'session__group__acronym' ,flat = True )
109107
110108def get_wg_list (scheduledsessions ):
You can’t perform that action at this time.
0 commit comments