Skip to content

fix: send boolean filter values without quotes#5880

Merged
IMB11 merged 1 commit intomodrinth:mainfrom
Liam-Elliott:fix/open-source-filter-boolean
Apr 23, 2026
Merged

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

Conversation

@Liam-Elliott
Copy link
Copy Markdown
Contributor

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

modrinth-bot commented Apr 21, 2026

Pull request changelog

App

Added

Changed

Deprecated

Removed

Fixed

  • Fixed broken "Open source" filter on browse page. (Thank you Liam Elliott)

Security

Website

Added

Changed

Deprecated

Removed

Fixed

  • Fixed broken "Open source" filter on search page. (Thank you Liam Elliott)

Security

Hosting

Added

Changed

Deprecated

Removed

Fixed

Security

@IMB11 IMB11 added this pull request to the merge queue Apr 23, 2026
Merged via the queue into modrinth:main with commit c44ead2 Apr 23, 2026
7 checks passed
@Liam-Elliott Liam-Elliott deleted the fix/open-source-filter-boolean branch April 23, 2026 19:36
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.

3 participants