Skip to content

Commit 4678f0b

Browse files
committed
Commit file missing from previous commit (fix a double prefetch).
- Legacy-Id: 18104
1 parent a373f1d commit 4678f0b

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

ietf/meeting/views.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,11 +1287,6 @@ def json_agenda(request, num=None ):
12871287
# Update the assignments with historic information, i.e., valid at the
12881288
# time of the meeting
12891289
assignments = preprocess_assignments_for_agenda(assignments, meeting, extra_prefetches=[
1290-
# sadly, these prefetches aren't enough to get rid of all implicit queries below
1291-
Prefetch("session__materials",
1292-
queryset=Document.objects.exclude(states__type=F("type"),states__slug='deleted').select_related("group").order_by("sessionpresentation__order"),
1293-
to_attr="prefetched_active_materials",
1294-
),
12951290
"session__materials__docevent_set",
12961291
"session__sessionpresentation_set",
12971292
"timeslot__meeting"

0 commit comments

Comments
 (0)