diff --git a/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanService.java b/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanService.java index e3a3e311e6..faffd9937a 100644 --- a/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanService.java +++ b/test-track/backend/src/main/java/io/metersphere/plan/service/TestPlanService.java @@ -803,6 +803,7 @@ public class TestPlanService { } public List planListAll(QueryTestPlanRequest request) { + request.setOrders(ServiceUtils.getDefaultOrder(request.getOrders())); if (StringUtils.isNotBlank(request.getProjectId())) { request.setProjectId(request.getProjectId()); }