Add relevant_orderlist exporter (Bugfix #1)
All checks were successful
Build Deploy email notification tool / Apply-Kubernetes-Resources (push) Successful in 1m49s

This Exporter has the most useful information in the first rows of the
exported document. Specifically the product and the custom questions.
Other fields are also resorted somewhat to place very useless columns at
the end of the table. See code for details :)
This commit is contained in:
2025-02-11 23:56:55 +01:00
parent 2140375d26
commit 95689061b8

View File

@@ -1187,11 +1187,13 @@ class RelevantOrderListExporter(MultiSheetListExporter):
return "{}_orders".format(self.event.slug)
@receiver(register_data_exporters, dispatch_uid="exporter_orderlist")
def register_orderlist_exporter(sender, **kwargs):
@receiver(register_data_exporters, dispatch_uid="exporter_relevant_orderlist")
def register_relevant_orderlist_exporter(sender, **kwargs):
return RelevantOrderListExporter
@receiver(register_multievent_data_exporters, dispatch_uid="multiexporter_orderlist")
def register_multievent_orderlist_exporter(sender, **kwargs):
@receiver(
register_multievent_data_exporters, dispatch_uid="multiexporter_relevant_orderlist"
)
def register_multievent_relevant_orderlist_exporter(sender, **kwargs):
return RelevantOrderListExporter