Skip to content
Snippets Groups Projects
Commit db9bc96c authored by Felix Blanke's avatar Felix Blanke Committed by Benjamin Hättasch
Browse files

Remove duplicate rows in slots query

parent 5b6a57a5
No related branches found
No related tags found
1 merge request!286Fix: Remove duplicate rows in slots query
......@@ -70,7 +70,7 @@ class AKJSONExportView(EventSlugMixin, AdminViewMixin, FormView):
| Q(ak__types__isnull=True)
)
queryset = queryset.all()
queryset = queryset.distinct().all()
if not queryset.exists():
messages.warning(
self.request,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment