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
@ -38,9 +38,10 @@ 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",
|
||||||
Query: query,
|
Facets: [][]string{facets},
|
||||||
|
Query: query,
|
||||||
})
|
})
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user