mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-01-24 14:34:15 +08:00
初始化内容修改为“热度” (#2099)
* 将初始化内容设定为“名称”排序 * 更新 RemoteModRepository.java * 初始化内容修改为“下载量” 搜索时排序依然是“名称” * 还是默认“热度”吧 因为一般搜模组都是搜热度比较高的,搜出的结果就较为准确 * Update DownloadListPage.java
This commit is contained in:
parent
d828f7bc7b
commit
54eab87356
@ -118,7 +118,7 @@ public class DownloadListPage extends Control implements DecoratorPage, VersionP
|
||||
|
||||
if (!searchInitialized) {
|
||||
searchInitialized = true;
|
||||
search("", null, 0, "", RemoteModRepository.SortType.TOTAL_DOWNLOADS);
|
||||
search("", null, 0, "", RemoteModRepository.SortType.POPULARITY);
|
||||
}
|
||||
|
||||
if (versionSelection) {
|
||||
|
@ -38,9 +38,9 @@ public interface RemoteModRepository {
|
||||
Type getType();
|
||||
|
||||
enum SortType {
|
||||
POPULARITY,
|
||||
NAME,
|
||||
DATE_CREATED,
|
||||
POPULARITY,
|
||||
LAST_UPDATED,
|
||||
AUTHOR,
|
||||
TOTAL_DOWNLOADS
|
||||
|
Loading…
Reference in New Issue
Block a user