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

Sort inline fields recursively for correct order of fields in editor #267

Closed
wants to merge 1 commit into from
Closed

Conversation

nitori
Copy link
Contributor

@nitori nitori commented Mar 19, 2020

The fields within the "inner" repetition would always get sorted by key when re-opening the editor for the element.

2020-03-19_233143

  1. Order the fields (fieldb1, fieldb2, fieldb3) in a non-alphabetical order, like shown in the screenshot.
  2. Save and close the editor for the content element.
  3. Open the content element again in the editor - the fields are now incorrectly sorted alphabetical by their key (the json contains the correct order values though).
  4. Saving again with the now incorrect order of the fields, breaks the previously stored order values.

This patch fixes the issue.

@butu
Copy link
Collaborator

butu commented Apr 8, 2020

Is merged in the new mask version for TYPO3 10. Thank you! :)

@butu butu closed this Apr 8, 2020
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