Only display current versions of orders

This commit is contained in:
Raphael Michel
2015-03-15 17:09:56 +01:00
parent 76b85cd4fc
commit 5ea81b33f8

View File

@@ -308,5 +308,5 @@ class EventOrders(EventLoginRequiredMixin, EventViewMixin, TemplateView):
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['orders'] = self.request.user.orders.all()
context['orders'] = self.request.user.orders.current.all()
return context