diff --git a/apps/clans/views.py b/apps/clans/views.py index 2651876..f912067 100644 --- a/apps/clans/views.py +++ b/apps/clans/views.py @@ -32,7 +32,7 @@ def overview(request): diaries_count=Count("diaries", distinct=True), diary_commits_count=Count("diaries__commits", distinct=True), ) - .order_by("-level") + .order_by("-diary_commits_count") ) paginated_account_queryset = paginate(account_queryset, page, page_size) diff --git a/templates/clans/overview.html b/templates/clans/overview.html index 9c5b9b5..bd64dd4 100644 --- a/templates/clans/overview.html +++ b/templates/clans/overview.html @@ -221,6 +221,10 @@

Overview

+ + {% include "includes/pager-bar.html" with objects=accounts %} + + {% endblock content %} diff --git a/templates/partials/expanded-left-sidebar.html b/templates/partials/expanded-left-sidebar.html index 2800b69..986130b 100644 --- a/templates/partials/expanded-left-sidebar.html +++ b/templates/partials/expanded-left-sidebar.html @@ -94,6 +94,21 @@