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

[BUGFIX] Fix order of fields and tabs defined for backend layouts #315

Merged
merged 1 commit into from
Jul 8, 2020
Merged

[BUGFIX] Fix order of fields and tabs defined for backend layouts #315

merged 1 commit into from
Jul 8, 2020

Conversation

nhovratov
Copy link
Collaborator

The problem was that the order of showitem was taken from the mask tca
array instead of columns. This was necessary because backend layouts
can share fields and the order may vary. Now, instead of creating the
whole showitem string for all fields, we extend the showitem for the
specific page type and backend layout just before the tca is processed
with the help of a FormDataProvider. This way it is possible to use the
predefined order of fields and tabs.

Resolves: #214

The problem was that the order of showitem was taken from the mask tca
array instead of columns. This was necessary because backend layouts
can share fields and the order may vary. Now, instead of creating the
whole showitem string for all fields, we extend the showitem for the
specific page type and backend layout just before the tca is processed
with the help of a FormDataProvider. This way it is possible to use the
predefined order of fields and tabs.

Resolves: #214
@Gernott Gernott merged commit eb5c9c0 into Gernott:master Jul 8, 2020
@nhovratov nhovratov deleted the fix-tab-order branch September 23, 2020 17:23
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.

Tabs are messed up
2 participants