From 3fa80351e0d2474f219403dd70c88273c411d6e0 Mon Sep 17 00:00:00 2001 From: Aaron3S Date: Wed, 17 May 2023 15:07:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BD=9C=E4=B8=9A?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E6=8F=90=E7=A4=BA=E7=94=A8=E6=88=B7=E5=90=8D?= =?UTF-8?q?=E6=8E=92=E5=BA=8F=E6=AF=8F=E6=AC=A1=E4=B8=8D=E4=B8=80=E6=A0=B7?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ops/api/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ops/api/job.py b/apps/ops/api/job.py index bb427999b..ca76263a4 100644 --- a/apps/ops/api/job.py +++ b/apps/ops/api/job.py @@ -167,5 +167,5 @@ class UsernameHintsAPI(APIView): .filter(asset__in=assets) \ .values('username') \ .annotate(total=Count('username')) \ - .order_by('total')[:10] + .order_by('total', 'username')[:10] return Response(data=top_accounts)