Commit 1b6533e2 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix style issue on member pages and change ex-members filter

parent d1325947
......@@ -39,7 +39,9 @@ def index(request):
obj.current_membership and
obj.current_membership.since.year < start_year]
elif query_filter == 'ex':
members = [obj for obj in members if not obj.current_membership]
members = [obj for obj in members if not obj.current_membership and
len([ship for ship in obj.membership_set.all().filter(
type='member')]) > 0]
elif query_filter == 'honor':
members = [obj for obj in members if
obj.current_membership and
......
......@@ -3045,6 +3045,9 @@ body {
}
.member-search {
width: 400px;
margin: 0 auto;
input {
float: left;
display: inline;
......
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