diff --git a/CHANGELOG.md b/CHANGELOG.md index e1334cfc7..e8239daf6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,6 +35,12 @@ * Add hashtag symbol to CommonFilter::Any (#1131) * Disable forward compat on android (c9e97af) +## v3.9.2 + * Fix searching for mods returning unavailable mods (#1149) + +## v3.9.1 + * Fix mod downloads not checking version (f575187) + ## v3.9.0 * Many changes to the settings ui (#1108) * Fuzzy search is now more reasonable diff --git a/loader/src/server/Server.cpp b/loader/src/server/Server.cpp index e9b6db0ae..7c1b4334f 100644 --- a/loader/src/server/Server.cpp +++ b/loader/src/server/Server.cpp @@ -554,12 +554,11 @@ ServerRequest server::getMods(ModsQuery const& query, bool useCa // Add search params if (query.query) { req.param("query", *query.query); - } else { - // Target current GD version and Loader version when query is not set - req.param("gd", GEODE_GD_VERSION_STR); - req.param("geode", Loader::get()->getVersion().toNonVString()); } + req.param("gd", GEODE_GD_VERSION_STR); + req.param("geode", Loader::get()->getVersion().toNonVString()); + if (query.platforms.size()) { std::string plats = ""; bool first = true; diff --git a/loader/src/ui/mods/popups/ModPopup.cpp b/loader/src/ui/mods/popups/ModPopup.cpp index 411bede2f..8262a09b6 100644 --- a/loader/src/ui/mods/popups/ModPopup.cpp +++ b/loader/src/ui/mods/popups/ModPopup.cpp @@ -1,4 +1,7 @@ #include "ModPopup.hpp" + +#include + #include #include #include