This commit is contained in:
Thomas Steen Rasmussen 2017-12-04 10:49:24 +01:00
parent 74729ade14
commit 0806ff138e

View file

@ -22,5 +22,5 @@ class BackofficeIndexView(StaffMemberRequiredMixin, TemplateView):
class InfodeskView(StaffMemberRequiredMixin, ListView): class InfodeskView(StaffMemberRequiredMixin, ListView):
template_name = "infodesk.html" template_name = "infodesk.html"
queryset = OrderProductRelation.objects.filter(handed_out=False, order__paid=True, order__refunded=False, order__cancelled=False).order_by("'order') queryset = OrderProductRelation.objects.filter(handed_out=False, order__paid=True, order__refunded=False, order__cancelled=False).order_by('order')