mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Item list: Fix exclusive tax rules
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user