From 89122595551fa8884a2ae07c726effb1d1c522bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=A4fer?= <felix@thegcat.net> Date: Mon, 9 Sep 2019 21:31:30 +0200 Subject: [PATCH] Only publicly show registrations when there's an attendee --- pretix_public_registrations/signals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pretix_public_registrations/signals.py b/pretix_public_registrations/signals.py index 57208eb..f97c436 100644 --- a/pretix_public_registrations/signals.py +++ b/pretix_public_registrations/signals.py @@ -59,7 +59,7 @@ def add_public_registrations_table(sender, **kwargs): { 'gr_url': get_gravatar_url(pop.attendee_email, size=24, default="wavatar"), 'fields': [pop.attendee_name_cached] - } for pop in public_order_positions + } for pop in public_order_positions if pop.attendee_email and pop.attendee_name_cached ] template = get_template('pretix_public_registrations/front_page.html') cached = template.render({ -- GitLab