From 30237b421cea36904772c2919d5cfd36c638a570 Mon Sep 17 00:00:00 2001 From: yongyiduan Date: Tue, 21 Mar 2023 21:34:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E6=B0=B4=E7=BA=BF=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E7=9A=84=E6=8E=92=E5=BA=8F=E6=B2=A1=E6=9C=89=E6=8C=89a~Z?= =?UTF-8?q?=EF=BC=8C=E5=AF=BC=E8=87=B4=E4=BA=86=E4=B8=AD=E8=8B=B1=E6=B7=B7?= =?UTF-8?q?=E6=9D=82=E7=9A=84=E6=83=85=E5=86=B5=20#8508?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../devops/process/service/view/PipelineViewGroupService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/view/PipelineViewGroupService.kt b/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/view/PipelineViewGroupService.kt index a0ca98366dc..7d760bbb095 100644 --- a/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/view/PipelineViewGroupService.kt +++ b/src/backend/ci/core/process/biz-process/src/main/kotlin/com/tencent/devops/process/service/view/PipelineViewGroupService.kt @@ -701,7 +701,7 @@ class PipelineViewGroupService @Autowired constructor( val viewScoreMap = pipelineViewTopDao.list(dslContext, projectId, userId).associate { it.viewId to score++ } return views.sortedWith(Comparator { a, b -> - Collator.getInstance(Locale.CHINESE).compare(a, b) + Collator.getInstance(Locale.CHINESE).compare(a.name, b.name) }).sortedBy { viewScoreMap[it.id] ?: Int.MAX_VALUE }.map {