Item list: Fix exclusive tax rules

This commit is contained in:
Raphael Michel
2024-07-02 09:03:33 +02:00
parent d9f46cb817
commit 075b9c187f
2 changed files with 10 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ class ItemList(ListView):
def get_queryset(self):
return Item.objects.filter(
event=self.request.event
).annotate(
).select_related("tax_rule").annotate(
var_count=Count('variations')
).prefetch_related("category", "limit_sales_channels").order_by(
F('category__position').asc(nulls_first=True),