Export: Fix issue showing error messages

This commit is contained in:
Raphael Michel
2023-01-12 18:06:23 +01:00
parent d0676765a4
commit d1acbad181
2 changed files with 2 additions and 2 deletions

View File

@@ -2245,7 +2245,7 @@ class ExportMixin:
@cached_property
def exporter(self):
id = self.request.GET.get("identifier") or self.request.POST.get("exporter")
id = self.request.GET.get("identifier") or self.request.POST.get("exporter") or self.request.GET.get("exporter")
if not id:
return None
for ex in self.exporters:

View File

@@ -1515,7 +1515,7 @@ class GiftCardUpdateView(OrganizerDetailViewMixin, OrganizerPermissionRequiredMi
class ExportMixin:
@cached_property
def exporter(self):
id = self.request.GET.get("identifier") or self.request.POST.get("exporter")
id = self.request.GET.get("identifier") or self.request.POST.get("exporter") or self.request.GET.get("exporter")
if not id:
return None
for ex in self.exporters: