-
Notifications
You must be signed in to change notification settings - Fork 361
Open
Labels
apiRelates to the Modrinth API for developersRelates to the Modrinth API for developersbackendInvolves work from the backend teamInvolves work from the backend team
Description
Please confirm the following.
- I checked the existing issues for duplicate problems
- I have tried resolving the issue using the support portal
Describe the bug
Hello, I noticed that the API returns an HTTP 400 error when filtering on the "512x or higher" resource pack category.
{
"error": "meilisearch_error",
"description": "MeiliSearch Error: Meilisearch invalid_request: invalid_search_filter: Expression `(categories = 512x+)))` is missing the following closing delimiter: `)`.\n40:62 (((project_types = resourcepack)) AND ((categories = 512x+))). https://docs.meilisearch.com/errors#invalid_search_filter"
} Steps to reproduce
- Go to https://modrinth.com/discover/resourcepacks
- Click on "512x or higher" filter in the "Resolutions" section
- Nothing shows up
Expected behavior
The filter should work correctly
Additional context
I also tried calling the API directly through the /v2/search endpoint and it gives the same result.
I think the + character in the category id might mess things up, as I haven't been able to reproduce with any other filter.
Metadata
Metadata
Assignees
Labels
apiRelates to the Modrinth API for developersRelates to the Modrinth API for developersbackendInvolves work from the backend teamInvolves work from the backend team