Skip to content

fix: send boolean filter values without quotes#5880

Open
Liam-Elliott wants to merge 1 commit intomodrinth:mainfrom
Liam-Elliott:fix/open-source-filter-boolean
Open

fix: send boolean filter values without quotes#5880
Liam-Elliott wants to merge 1 commit intomodrinth:mainfrom
Liam-Elliott:fix/open-source-filter-boolean

Conversation

@Liam-Elliott
Copy link
Copy Markdown

fixes an issue where the open source filter returned no results because open_source=true was serialized as a quoted string ("true") in new_filters instead of a boolean.

Ensure boolean facet values like open_source=true are not wrapped in quotes in new_filters, matching MeiliSearch filter syntax.

Made-with: Cursor
@modrinth-bot
Copy link
Copy Markdown
Member

Pull request changelog

App

Added

Changed

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Deprecated

Removed

Fixed

Security

Hosting

Added

Changed

Deprecated

Removed

Fixed

Security

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants