Sort dashboard by session count

This commit is contained in:
R. Miles McCain 2020-04-15 17:47:22 -04:00
parent 841913fe33
commit 600f554f51
No known key found for this signature in database
GPG Key ID: 91CB47BDDF2671A5

View File

@ -18,7 +18,7 @@
</div> </div>
</div> </div>
<hr class="sep"> <hr class="sep">
{% for object in services %} {% for object in services|dictsortreversed:"stats.session_count" %}
{% include 'dashboard/includes/service_overview.html' %} {% include 'dashboard/includes/service_overview.html' %}
{% empty %} {% empty %}
<p>You don't have any services on {{request.site.name|default:"Shynet"}} yet.</p> <p>You don't have any services on {{request.site.name|default:"Shynet"}} yet.</p>