From d828f7bc7b98dc9ac75bec7aa030370921181d17 Mon Sep 17 00:00:00 2001 From: zkitefly <64117916+zkitefly@users.noreply.github.com> Date: Sat, 11 Feb 2023 11:47:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E6=8E=92=E5=BA=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA=E2=80=9C=E4=B8=8B=E8=BD=BD=E9=87=8F?= =?UTF-8?q?=E2=80=9D=20(#2097)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 将初始化内容设定为“名称”排序 * 更新 RemoteModRepository.java * 初始化内容修改为“下载量” 搜索时排序依然是“名称” --- .../java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java index 110d86335..829894a4d 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/DownloadListPage.java @@ -118,7 +118,7 @@ public class DownloadListPage extends Control implements DecoratorPage, VersionP if (!searchInitialized) { searchInitialized = true; - search("", null, 0, "", RemoteModRepository.SortType.NAME); + search("", null, 0, "", RemoteModRepository.SortType.TOTAL_DOWNLOADS); } if (versionSelection) {