mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Export: Fix issue showing error messages
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user