forked from CGM_Public/pretix_original
Sendmail: Do not fail to show logs with status "r"
Fix sentry PRETIXEU-S3
This commit is contained in:
@@ -153,6 +153,7 @@ class EmailHistoryView(EventPermissionRequiredMixin, ListView):
|
|||||||
|
|
||||||
status = dict(Order.STATUS_CHOICE)
|
status = dict(Order.STATUS_CHOICE)
|
||||||
status['overdue'] = _('pending with payment overdue')
|
status['overdue'] = _('pending with payment overdue')
|
||||||
|
status['r'] = status['c']
|
||||||
for log in ctx['logs']:
|
for log in ctx['logs']:
|
||||||
log.pdata = log.parsed_data
|
log.pdata = log.parsed_data
|
||||||
log.pdata['locales'] = {}
|
log.pdata['locales'] = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user