Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix controls for CSV submission #608

Merged
merged 5 commits into from
Feb 12, 2025

Conversation

mbarton
Copy link
Member

@mbarton mbarton commented Feb 12, 2025

Fixes #593 where we were not showing correct controls for CSV submissions in 2023.

I've centralised the multiple functions we had for updating the session filters into one single place to hopefully make it less likely that future refactors introduce bugs.

This fixes the bug where we were not showing correct controls for CSV submissions in 2023
I suspect not required since we started doing a full page refresh after changing the filters
@mbarton mbarton self-assigned this Feb 12, 2025
can_upload_csv = True
can_complete_questionnaire = True

audit_year = get_current_audit_year()
Copy link
Member Author

Choose a reason for hiding this comment

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

This was the buggy line - it didn't respect selected_audit_year

@mbarton mbarton merged commit a043ecd into live Feb 12, 2025
1 check passed
@mbarton mbarton deleted the mbarton/upload-csv-in-twenty-twenty-three branch February 12, 2025 16:51
@mbarton
Copy link
Member Author

mbarton commented Feb 12, 2025

Seen on STAGING, LIVE (merged by @mbarton 6 minutes and 48 seconds ago) Please check your changes!

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

Successfully merging this pull request may close these issues.

Kings in live shows questionnaire UI rather than CSV UI on the patient list
1 participant