Skip to content

Commit

Permalink
Fix: Inaccurate Modrinth source search results (#5474)
Browse files Browse the repository at this point in the history
  • Loading branch information
MovTery committed May 20, 2024
1 parent b03bb62 commit 1647398
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public SearchResult searchMod(SearchFilters searchFilters, SearchResult previous
facetString.append(String.format(",[\"versions:%s\"]", searchFilters.mcVersion));
facetString.append("]");
params.put("facets", facetString.toString());
params.put("query", searchFilters.name.replace(' ', '+'));
params.put("query", searchFilters.name);
params.put("limit", 50);
params.put("index", "relevance");
if(modrinthSearchResult != null)
Expand Down

0 comments on commit 1647398

Please sign in to comment.