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)); } }