Commit 14635a6c authored by Joost Rijneveld's avatar Joost Rijneveld
Browse files

Merge branch 'cherry-pick-80f47938-2' into 'release/1.4'

[Release/1.4] Hotfix: The waiting list should only include non-cancels

See merge request !362
parents 67ba4eed dfca08f5
......@@ -232,7 +232,9 @@ def registration(request, event_id, action=None):
if (obj is not None and
obj.date_cancelled is None):
if (event.max_participants is not None and
Registration.objects.filter(event=event).count() >=
date_cancelled=None).count()) >=
# Prepare email to send to the first person on the waiting
# list
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment