-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
This issue is automatically created based on existing pull request: #37970: Bugfix: Sort multiline form elements by given array keys before imploding.
Description (*)
When you change the display order of the street field customer account edit address form it will save the fields incorrectly. Even when you set the names of the first field as street[3], second field street[2] and the last field as street[1].
This is a real world scenerio when you have multiple stores and want to change the sort order of the address fields for 1 specific store, because of how that country uses addresses (house number before street, instead of the other way around).
This PR will make sure that the street fields are sorted by the given keys in the form first before imploding making sure that they are stored in the correct order in the DB.
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All automated tests passed successfully (all builds are green)