# HG changeset patch # User Dennis Fink # Date 2014-09-13 19:03:30 # Node ID fbc229d3812bd32e7767d572075c6623f83a29e7 # Parent e899769da849c6aa0feec7964c10fddea8567cc1 Sort the servers by country and server_name diff --git a/ennstatus/templates/status/macros.html b/ennstatus/templates/status/macros.html --- a/ennstatus/templates/status/macros.html +++ b/ennstatus/templates/status/macros.html @@ -52,7 +52,7 @@ - {% for server in servers %} + {% for server in servers|sort(attribute='server_name')|sort(attribute='country') %} {{ loop.index }} {% if server_type in ('Exit', 'Relay') %}