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)