Skip to content

Commit 3bc0cb4

Browse files
committed
Changed a list of group types in all_meeting_sessions_for_group() to instead use group.features.
- Legacy-Id: 18318
1 parent 9be8544 commit 3bc0cb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/meeting/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ def drafts(self):
996996
# pages.
997997
def all_meeting_sessions_for_group(self):
998998
from ietf.meeting.utils import add_event_info_to_session_qs
999-
if self.group.type_id in ['wg','rg','ag']:
999+
if self.group.features.has_meetings:
10001000
if not hasattr(self, "_all_meeting_sessions_for_group_cache"):
10011001
sessions = [s for s in add_event_info_to_session_qs(self.meeting.session_set.filter(group=self.group,type=self.type)) if s.official_timeslotassignment()]
10021002
self._all_meeting_sessions_for_group_cache = sorted(sessions, key = lambda x: x.official_timeslotassignment().timeslot.time)

0 commit comments

Comments
 (0)