初始化排序修改为“下载量” (#2097)

* 将初始化内容设定为“名称”排序

* 更新 RemoteModRepository.java

* 初始化内容修改为“下载量”

搜索时排序依然是“名称”
This commit is contained in:
zkitefly 2023-02-11 11:47:26 +08:00 committed by GitHub
parent ae3e135e06
commit d828f7bc7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {