From 600f554f51b7fbf96ffefe77ecf6e416abba380d Mon Sep 17 00:00:00 2001 From: "R. Miles McCain" Date: Wed, 15 Apr 2020 17:47:22 -0400 Subject: [PATCH] Sort dashboard by session count --- shynet/dashboard/templates/dashboard/pages/dashboard.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shynet/dashboard/templates/dashboard/pages/dashboard.html b/shynet/dashboard/templates/dashboard/pages/dashboard.html index c7f3cbb..1e2252e 100644 --- a/shynet/dashboard/templates/dashboard/pages/dashboard.html +++ b/shynet/dashboard/templates/dashboard/pages/dashboard.html @@ -18,7 +18,7 @@
-{% for object in services %} +{% for object in services|dictsortreversed:"stats.session_count" %} {% include 'dashboard/includes/service_overview.html' %} {% empty %}

You don't have any services on {{request.site.name|default:"Shynet"}} yet.