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: Show fields in correct order on "Add Contact" page #5232

Closed
wants to merge 2 commits into from

Conversation

mgrhm
Copy link

@mgrhm mgrhm commented May 24, 2021

The if-else statement here didn't appear to work correctly -- it always displayed the last-name field before the first-name field. This fixes is so that it displays first-name ahead of last-name by default, and uses the if-else to flip it for languages that use last/first.

Copy link
Member

@asbiin asbiin left a comment

Choose a reason for hiding this comment

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

Thank you @mgrhm , but I don't think this is the real problem.
formNameOrder is get from FormHelper::getNameOrderForForms which might miss some cases. I will fix it with another PR and add some checks.

@mgrhm
Copy link
Author

mgrhm commented Jun 6, 2021

Thanks, Alexis. I'll close this now.

@mgrhm mgrhm closed this Jun 6, 2021
@mgrhm mgrhm deleted the reorder-add-contact branch June 6, 2021 09:19
@asbiin
Copy link
Member

asbiin commented Jun 6, 2021

Superseded by #5255

@github-actions
Copy link

github-actions bot commented Jun 7, 2022

This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants