diff --git a/src/pretix/control/logdisplay.py b/src/pretix/control/logdisplay.py index 69df3fc556..1685fc4d60 100644 --- a/src/pretix/control/logdisplay.py +++ b/src/pretix/control/logdisplay.py @@ -305,6 +305,7 @@ def pretixcontrol_logentry_display(sender: Event, logentry: LogEntry, **kwargs): 'pretix.event.order.email.attachments.skipped': _('The email has been sent without attachments since they ' 'would have been too large to be likely to arrive.'), 'pretix.event.order.email.custom_sent': _('A custom email has been sent.'), + 'pretix.event.order.position.email.custom_sent': _('A custom email has been sent to an attendee.'), 'pretix.event.order.email.download_reminder_sent': _('An email has been sent with a reminder that the ticket ' 'is available for download.'), 'pretix.event.order.email.expire_warning_sent': _('An email has been sent with a warning that the order is about ' diff --git a/src/pretix/control/views/orders.py b/src/pretix/control/views/orders.py index 929c4dce35..c9a561d2c5 100644 --- a/src/pretix/control/views/orders.py +++ b/src/pretix/control/views/orders.py @@ -1885,7 +1885,8 @@ class OrderEmailHistory(EventPermissionRequiredMixin, OrderViewMixin, ListView): ) qs = order.all_logentries() qs = qs.filter( - action_type__contains="order.email" + Q(action_type__contains="order.email") | + Q(action_type__contains="order.position.email") ) return qs