Rafał Pitoń 11 лет назад
Родитель
Сommit
d8e636156d
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      misago/templates/misago/admin/users/list.html
  2. 2 2
      misago/users/views/useradmin.py

+ 1 - 1
misago/templates/misago/admin/users/list.html

@@ -17,7 +17,7 @@
 <th>{% trans "User" %}</th>
 <th style="width: 150px;">{% trans "E-mail" %}</th>
 <th style="width: 150px;">{% trans "Rank" %}</th>
-<th style="width: 150px;">{% trans "Joined" %}</th>
+<th style="width: 200px;">{% trans "Joined" %}</th>
 <th>&nbsp;</th>
 {% endblock table-header %}
 

+ 2 - 2
misago/users/views/useradmin.py

@@ -24,8 +24,8 @@ class UsersList(UserAdmin, generic.ListView):
     ordering = (
         ('-id', _("From newest")),
         ('id', _("From oldest")),
-        ('username', _("A to z")),
-        ('-username', _("Z to a")),
+        ('username_slug', _("A to z")),
+        ('-username_slug', _("Z to a")),
         )
 
     def get_queryset(self):