diff --git a/openslides/participant/templates/participant/overview.html b/openslides/participant/templates/participant/overview.html
index 595f07671..409059c82 100644
--- a/openslides/participant/templates/participant/overview.html
+++ b/openslides/participant/templates/participant/overview.html
@@ -40,14 +40,13 @@
{{ user.first_name }} |
{{ user.last_name }} |
- {% if "none" not in user.profile.gender %}
- {% if user.profile.gender == 'male' %}
- {% trans "Male" %}
- {% else %}
- {% trans "Female" %}
- {% endif %}
- {% endif %} |
{{ user.profile.group }} |
- {{ user.profile.type }} |
{{ user.profile.committee }} |
+ {% if perms.participant.can_manage_participants %}
+ {{ user.profile.type }} |
{{ user.username }} |
{{ user.email }} |
{% if user.last_login > user.date_joined %}
{{ user.last_login }}
{% endif %} |
- {% if perms.participant.can_manage_participants %}
{% if user.is_active %}
diff --git a/openslides/participant/views.py b/openslides/participant/views.py
index a9fba59b7..43dcee56c 100644
--- a/openslides/participant/views.py
+++ b/openslides/participant/views.py
@@ -46,7 +46,7 @@ def get_overview(request):
sort = request.GET['sort']
if sort in ['first_name', 'last_name','username','last_login','email']:
query = query.order_by(sort)
- elif sort in ['gender', 'group', 'type', 'committee']:
+ elif sort in ['group', 'type', 'committee']:
query = query.order_by('profile__%s' % sort)
except KeyError:
pass
|