From 4598028bb8abb9ffb1a64ad3a62a76f218683167 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Tue, 17 Dec 2024 14:52:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=86=E4=BA=AB=E6=B5=8B=E8=AF=95=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E6=8A=A5=E5=91=8A=E6=8E=A5=E5=8F=A3/=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E5=88=97=E8=A1=A8=E5=AD=97=E6=AE=B5=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1050471 --user=王旭 【测试计划】报告-用例明细的用例名称字段排序与接口/场景明细的耗时字段排序均未生效 https://www.tapd.cn/55049933/s/1632164 --- .../plan/controller/TestPlanReportShareController.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanReportShareController.java b/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanReportShareController.java index a6e244dce2..dc2b6bf9a5 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanReportShareController.java +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanReportShareController.java @@ -230,8 +230,7 @@ public class TestPlanReportShareController { request.setDetailReportIds(testPlanReportService.getActualReportIds(request.getReportId())); ShareInfo shareInfo = testPlanReportShareService.checkResource(request.getShareId()); testPlanReportShareService.validateExpired(shareInfo); - Page page = PageHelper.startPage(request.getCurrent(), request.getPageSize(), - StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "tpc.pos desc"); + Page page = PageHelper.startPage(request.getCurrent(), request.getPageSize(), "tpc.pos asc"); return PageUtils.setPageInfo(page, testPlanReportService.listReportCollection(request, type)); } }