From 8b98b6fa7cda29f1243adbec2ee885bca4863801 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Tue, 3 Dec 2024 11:29:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83):=20?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E9=A1=B9=E9=BB=98=E8=AE=A4=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/system/service/BaseTaskHubService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/service/BaseTaskHubService.java b/backend/services/system-setting/src/main/java/io/metersphere/system/service/BaseTaskHubService.java index cac184eca1..061cac7129 100644 --- a/backend/services/system-setting/src/main/java/io/metersphere/system/service/BaseTaskHubService.java +++ b/backend/services/system-setting/src/main/java/io/metersphere/system/service/BaseTaskHubService.java @@ -354,7 +354,7 @@ public class BaseTaskHubService { */ public Pager> getCaseTaskItemList(TaskHubItemRequest request, String orgId, String projectId) { Page page = PageMethod.startPage(request.getCurrent(), request.getPageSize(), - StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "id desc"); + StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "create_time desc"); return PageUtils.setPageInfo(page, getCaseTaskItemPage(request, orgId, projectId)); }