mirror of
https://github.com/packwiz/packwiz.git
synced 2025-05-01 10:16:30 +02:00
Regression fix: filter Modrinth search results by game versions
This commit is contained in:
parent
58bb2ae4cf
commit
da04eb7f13
@ -40,6 +40,7 @@ func getProjectIdsViaSearch(query string, versions []string) ([]*modrinthApi.Sea
|
|||||||
res, err := mrDefaultClient.Projects.Search(&modrinthApi.SearchOptions{
|
res, err := mrDefaultClient.Projects.Search(&modrinthApi.SearchOptions{
|
||||||
Limit: 5,
|
Limit: 5,
|
||||||
Index: "relevance",
|
Index: "relevance",
|
||||||
|
Facets: [][]string{facets},
|
||||||
Query: query,
|
Query: query,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user