mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Add icon columns to product overview
This commit is contained in:
@@ -46,6 +46,8 @@ class ItemList(ListView):
|
||||
def get_queryset(self):
|
||||
return Item.objects.filter(
|
||||
event=self.request.event
|
||||
).annotate(
|
||||
var_count=Count('variations')
|
||||
).prefetch_related("category")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user