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

T1643 - Letter writing child selection #34

Merged
merged 3 commits into from
Aug 12, 2024

Conversation

alexis-allemann
Copy link
Contributor

When a sponsor supports multiple children, clicking on a specific child in MyCompassion and then selecting "Write a letter" from the menu does not persist the selected child. Instead, the system defaults to the first child in the list. This forces the sponsor to manually re-select the intended child to ensure the letter is directed correctly.

@alexis-allemann
Copy link
Contributor Author

The quickest solution, implemented in commit #4fadf21, injects the selected child's ID using JavaScript. A more elegant solution would involve injecting the child's ID into the menu at the backend level, but this would require additional development effort. If needed, I can explore this second option further.

Copy link

sonarcloud bot commented Aug 9, 2024

@alexis-allemann alexis-allemann self-assigned this Aug 9, 2024
@ecino ecino merged commit ca6c80c into 14.0 Aug 12, 2024
2 checks passed
@ecino ecino deleted the T1643_letter_writing_child_section branch August 12, 2024 07:16
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.

2 participants