Make sure boards are not in the 'commissievoorzitters' mailinglist alias

parent 09b69592
......@@ -41,6 +41,7 @@ def index(request):
elif 'custom' in request.GET:
if request.GET['custom'] == 'commissievoorzitters':
memberships = (CommitteeMembership.active_memberships
.filter(committee_board=False)
.filter(chair=True)
.prefetch_related('member__user'))
members = [x.member for x in memberships]
......
Markdown is supported
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