forked from CGM_Public/pretix_original
Only display current versions of orders
This commit is contained in:
@@ -308,5 +308,5 @@ class EventOrders(EventLoginRequiredMixin, EventViewMixin, TemplateView):
|
|||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
context = super().get_context_data(**kwargs)
|
context = super().get_context_data(**kwargs)
|
||||||
context['orders'] = self.request.user.orders.all()
|
context['orders'] = self.request.user.orders.current.all()
|
||||||
return context
|
return context
|
||||||
|
|||||||
Reference in New Issue
Block a user