Skip to content

Fix duplicate forms for CSV export#403

Merged
ryanslatten merged 2 commits into6.6.0from
feedback/export-duplicate-forms
Mar 24, 2026
Merged

Fix duplicate forms for CSV export#403
ryanslatten merged 2 commits into6.6.0from
feedback/export-duplicate-forms

Conversation

@ryanslatten
Copy link
Copy Markdown
Contributor

@ryanslatten ryanslatten commented Mar 18, 2026

This PR fixes an issue where the CSV event export did not account for duplicate forms by adding separate columns with numbers differentiating the forms.

Testing Instructions:

  1. Create observations in an event and use the same form multiple times in the same observation
  2. Export the event as CSV. Verify that the exported file contains the info of both the duplicate forms on the same observation row.

@S-S-T S-S-T self-requested a review March 23, 2026 15:30
Copy link
Copy Markdown
Contributor

@S-S-T S-S-T left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulled/built and ran branch; and confirmed it's working as intended. Code edits look good; csv class correctly handles multiple form instances per observation, attachments, and locations.

@ryanslatten ryanslatten merged commit 787b15f into 6.6.0 Mar 24, 2026
6 checks passed
@ryanslatten ryanslatten deleted the feedback/export-duplicate-forms branch March 24, 2026 15:04
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.

3 participants