From 5cd6cba0a2c88f19c076498e4d9cc96b973658eb Mon Sep 17 00:00:00 2001 From: Martin Gross Date: Tue, 6 Oct 2020 14:46:53 +0200 Subject: [PATCH] Fix accidential removal of gitcard-filter --- src/pretix/base/exporters/orderlist.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pretix/base/exporters/orderlist.py b/src/pretix/base/exporters/orderlist.py index 235c92905a..024c24a30c 100644 --- a/src/pretix/base/exporters/orderlist.py +++ b/src/pretix/base/exporters/orderlist.py @@ -662,6 +662,7 @@ class GiftcardRedemptionListExporter(ListExporter): def iterate_list(self, form_data): payments = OrderPayment.objects.filter( order__event__in=self.events, + provider='giftcard', state__in=(OrderPayment.PAYMENT_STATE_CONFIRMED, OrderPayment.PAYMENT_STATE_REFUNDED), ).order_by('created') refunds = OrderRefund.objects.filter(