diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-05-29 18:36:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-29 18:36:03 +0200 |
commit | d7fad4bd04a9f6d4fa149ff0b3aa526f1524cd56 (patch) | |
tree | 707c47809a6e8c71961201aaf13ff8cfa39e1f82 /launcher/modplatform/modrinth | |
parent | 73e46e569fa2ef8ad95afe1b12b76fd1c6f78155 (diff) | |
parent | 2746251dcd7ccbe83ca969c6a6b0f6e9c4d9160d (diff) | |
download | PrismLauncher-d7fad4bd04a9f6d4fa149ff0b3aa526f1524cd56.tar.gz PrismLauncher-d7fad4bd04a9f6d4fa149ff0b3aa526f1524cd56.tar.bz2 PrismLauncher-d7fad4bd04a9f6d4fa149ff0b3aa526f1524cd56.zip |
Merge pull request #677 from timoreo22/fix-modrinth-link
Fix modrinth search filters
Diffstat (limited to 'launcher/modplatform/modrinth')
-rw-r--r-- | launcher/modplatform/modrinth/ModrinthAPI.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthAPI.h b/launcher/modplatform/modrinth/ModrinthAPI.h index 79bc5175..6119a4df 100644 --- a/launcher/modplatform/modrinth/ModrinthAPI.h +++ b/launcher/modplatform/modrinth/ModrinthAPI.h @@ -79,11 +79,11 @@ class ModrinthAPI : public NetworkModAPI { { return QString(BuildConfig.MODRINTH_PROD_URL + "/project/%1/version?" - "game_versions=[%2]" + "game_versions=[%2]&" "loaders=[\"%3\"]") - .arg(args.addonId) - .arg(getGameVersionsString(args.mcVersions)) - .arg(getModLoaderStrings(args.loaders).join("\",\"")); + .arg(args.addonId, + getGameVersionsString(args.mcVersions), + getModLoaderStrings(args.loaders).join("\",\"")); }; auto getGameVersionsArray(std::list<Version> mcVersions) const -> QString |