Commit 3bfab7bf authored by Joost Rijneveld's avatar Joost Rijneveld

Merge branch 'hotfix/boards-in-committeechairs-alias' into 'master'

Hotfix boards in committee chairs alias

Closes #344

See merge request !393
parents 09b69592 6ae1703d
......@@ -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