Merge pull request #3463 from jamierocks/ftb/new-api
NOISSUE Use new modpacks.ch route for listing packs
This commit is contained in:
commit
11a21b57e4
@ -79,7 +79,7 @@ void ListModel::performSearch()
|
|||||||
auto *netJob = new NetJob("Ftb::Search");
|
auto *netJob = new NetJob("Ftb::Search");
|
||||||
QString searchUrl;
|
QString searchUrl;
|
||||||
if(currentSearchTerm.isEmpty()) {
|
if(currentSearchTerm.isEmpty()) {
|
||||||
searchUrl = BuildConfig.MODPACKSCH_API_BASE_URL + "public/modpack/popular/plays/100";
|
searchUrl = BuildConfig.MODPACKSCH_API_BASE_URL + "public/modpack/all";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
searchUrl = QString(BuildConfig.MODPACKSCH_API_BASE_URL + "public/modpack/search/25?term=%1")
|
searchUrl = QString(BuildConfig.MODPACKSCH_API_BASE_URL + "public/modpack/search/25?term=%1")
|
||||||
|
Loading…
Reference in New Issue
Block a user