Browse Source

Sort users on ranks list.

Rafał Pitoń 10 years ago
parent
commit
edab1dc7f3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/templates/misago/ranks_online.html

+ 1 - 1
misago/templates/misago/ranks_online.html

@@ -8,7 +8,7 @@
       {% endblocktrans %}
     </h3>
     <ul class="list-unstyled">
-      {% for user in rank.online %}
+      {% for user in rank.online|dictsort:"username" %}
       <li>
         <a href="{% url USER_PROFILE_URL user_slug=user.slug user_id=user.id %}" class="item-title combined">
           <img src="{{ user.id|avatar:32 }}" alt="{% trans "Avatar" %}">