From a108291422a130637343db6a6aa9226be234b3a1 Mon Sep 17 00:00:00 2001 From: Skia Date: Wed, 5 Jul 2017 21:13:10 +0200 Subject: [PATCH] trombi: update people ordering Signed-off-by: Skia --- trombi/templates/trombi/detail.jinja | 2 +- trombi/templates/trombi/user_tools.jinja | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/trombi/templates/trombi/detail.jinja b/trombi/templates/trombi/detail.jinja index d451525a..25d1859a 100644 --- a/trombi/templates/trombi/detail.jinja +++ b/trombi/templates/trombi/detail.jinja @@ -13,7 +13,7 @@ Export
- {% for u in object.users.all() %} + {% for u in object.users.order_by('user__nick_name') %}
{% set file = None %} {% if u.profile_pict %} diff --git a/trombi/templates/trombi/user_tools.jinja b/trombi/templates/trombi/user_tools.jinja index 44e3cdb4..8cda2bc3 100644 --- a/trombi/templates/trombi/user_tools.jinja +++ b/trombi/templates/trombi/user_tools.jinja @@ -24,7 +24,7 @@
{% endif %}
-{% for u in user.trombi_user.trombi.users.exclude(id=user.trombi_user.id) %} +{% for u in user.trombi_user.trombi.users.exclude(id=user.trombi_user.id).order_by('user__nick_name') %}
{% set file = None %} {% if u.profile_pict %}