diff --git a/CHANGELOG.md b/CHANGELOG.md index 2160a6079..54f6f7e02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,8 @@ You can also check the ## Unreleased -Nothing yet. +- Fixes + - Include drafts checkbox can be toggled off again now ### 6.2.2 - 2025-11-27 diff --git a/app/browse/lib/params.ts b/app/browse/lib/params.ts index cf8a11ceb..8744fa63e 100644 --- a/app/browse/lib/params.ts +++ b/app/browse/lib/params.ts @@ -68,7 +68,9 @@ export const getBrowseParamsFromQuery = ( subsubtype: subsubtype ?? previous?.subsubtype, subsubiri: subsubiri ?? previous?.subsubiri, topic: topic ?? previous?.topic, - includeDrafts: includeDrafts ?? previous?.includeDrafts, + includeDrafts: includeDrafts + ? JSON.parse(includeDrafts) + : previous?.includeDrafts, }, (d) => d !== undefined );