NOISSUE Use new modpacks.ch route for listing packs

This commit is contained in:
Jamie Mansfield 2020-11-28 22:06:35 +00:00
parent 88d6b6ea3f
commit 6249a54ba2
No known key found for this signature in database
GPG Key ID: 36F61598F39F67B0

View File

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