Commit 4417690f authored by Joost Rijneveld's avatar Joost Rijneveld
Browse files

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

Hotfix boards in committee chairs alias

Closes #344

See merge request !393
parent 14635a6c
...@@ -41,6 +41,7 @@ def index(request): ...@@ -41,6 +41,7 @@ def index(request):
elif 'custom' in request.GET: elif 'custom' in request.GET:
if request.GET['custom'] == 'commissievoorzitters': if request.GET['custom'] == 'commissievoorzitters':
memberships = (CommitteeMembership.active_memberships memberships = (CommitteeMembership.active_memberships
.filter(chair=True) .filter(chair=True)
.prefetch_related('member__user')) .prefetch_related('member__user'))
members = [x.member for x in memberships] 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