Skip to content

fix(db): keep filter type and cohort ids when loading saved reports - #524

Merged
lindesvard merged 1 commit into
mainfrom
fix/report-filter-type-on-load
Sep 28, 2026
Merged

lindesvard merged 1 commit into
mainfrom
fix/report-filter-type-on-load

Conversation

@lindesvard

Copy link
Copy Markdown
Contributor

transformFilter rebuilt each filter from id/name/operator/value only, so a saved filter lost its cast type (e.g. Date) on reload. The editor fell back to Text and comparison operators hit the untyped toFloat64 path, which errors on date strings. Cohort ids were dropped the same way.

transformFilter rebuilt each filter from id/name/operator/value only, so
a saved filter lost its cast type (e.g. Date) on reload. The editor fell
back to Text and comparison operators hit the untyped toFloat64 path,
which errors on date strings. Cohort ids were dropped the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lindesvard
lindesvard merged commit 7c4d22a into main Sep 28, 2026
8 checks passed
@lindesvard
lindesvard deleted the fix/report-filter-type-on-load branch September 28, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant