forked from CGM_Public/pretix_original
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