diff --git a/src/backoffice/views.py b/src/backoffice/views.py index bf247609..6b83bbc5 100644 --- a/src/backoffice/views.py +++ b/src/backoffice/views.py @@ -22,5 +22,5 @@ class BackofficeIndexView(StaffMemberRequiredMixin, TemplateView): class InfodeskView(StaffMemberRequiredMixin, ListView): 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')