From 0ae9e87050e87ff8b1ac01957a50ee5ce2c4dc05 Mon Sep 17 00:00:00 2001 From: Ole Magnus Fon Johnsen Date: Tue, 8 Jul 2025 11:26:37 +0200 Subject: [PATCH] Remove redundant prefetch --- src/staff/templatetags/order_tags.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/staff/templatetags/order_tags.py b/src/staff/templatetags/order_tags.py index 09278823..1d7581fb 100644 --- a/src/staff/templatetags/order_tags.py +++ b/src/staff/templatetags/order_tags.py @@ -69,9 +69,6 @@ def new_seen_orders_table(context: dict, area: Area | None = None) -> dict: default=1, ), ) - .prefetch_related( - "analysisorder__markers", - ) ) if area: @@ -106,9 +103,6 @@ def new_unseen_orders_table(context: dict, area: Area | None = None) -> dict: default=0, ) ) - .prefetch_related( - "analysisorder__markers", - ) ) if area: