将初始化内容设定为“名称”排序 (#2054)
* 将初始化内容设定为“名称”排序 * 更新 RemoteModRepository.java
This commit is contained in:
@@ -118,7 +118,7 @@ public class DownloadListPage extends Control implements DecoratorPage, VersionP
|
|||||||
|
|
||||||
if (!searchInitialized) {
|
if (!searchInitialized) {
|
||||||
searchInitialized = true;
|
searchInitialized = true;
|
||||||
search("", null, 0, "", RemoteModRepository.SortType.DATE_CREATED);
|
search("", null, 0, "", RemoteModRepository.SortType.NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (versionSelection) {
|
if (versionSelection) {
|
||||||
|
|||||||
@@ -38,10 +38,10 @@ public interface RemoteModRepository {
|
|||||||
Type getType();
|
Type getType();
|
||||||
|
|
||||||
enum SortType {
|
enum SortType {
|
||||||
|
NAME,
|
||||||
DATE_CREATED,
|
DATE_CREATED,
|
||||||
POPULARITY,
|
POPULARITY,
|
||||||
LAST_UPDATED,
|
LAST_UPDATED,
|
||||||
NAME,
|
|
||||||
AUTHOR,
|
AUTHOR,
|
||||||
TOTAL_DOWNLOADS
|
TOTAL_DOWNLOADS
|
||||||
}
|
}
|
||||||
@@ -89,7 +89,7 @@ public interface RemoteModRepository {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String[] DEFAULT_GAME_VERSIONS = new String[]{
|
String[] DEFAULT_GAME_VERSIONS = new String[]{
|
||||||
"1.19.3", "1.19.2", "1.19.1", "1.19",
|
"1.19.4", "1.19.3", "1.19.2", "1.19.1", "1.19",
|
||||||
"1.18.2", "1.18.1", "1.18",
|
"1.18.2", "1.18.1", "1.18",
|
||||||
"1.17.1", "1.17",
|
"1.17.1", "1.17",
|
||||||
"1.16.5", "1.16.4", "1.16.3", "1.16.2", "1.16.1", "1.16",
|
"1.16.5", "1.16.4", "1.16.3", "1.16.2", "1.16.1", "1.16",
|
||||||
|
|||||||
Reference in New Issue
Block a user