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

Stop forcing prepended 'ensuredFields' to the top of the blueprint. #2536

Merged
merged 1 commit into from
Sep 25, 2020
Merged

Stop forcing prepended 'ensuredFields' to the top of the blueprint. #2536

merged 1 commit into from
Sep 25, 2020

Conversation

jelleroorda
Copy link
Contributor

Only prepend fields when they are missing in the blueprint; don't force them to the top if they exist in the blueprint. Fixes #2173.

I left in the ! $exists for readability; you can leave it out if you prefer to.

Only prepend fields when they are missing in the blueprint; don't force them to the top if they exist in the blueprint. Fixes #2173
@jasonvarga
Copy link
Member

Thank you! We'll get this sorted out next week.

@jasonvarga jasonvarga merged commit 1da4824 into statamic:master Sep 25, 2020
jasonvarga added a commit that referenced this pull request Sep 25, 2020
@jasonvarga
Copy link
Member

Nevermind, merged. Thanks! I had a few spare minutes to write the missing test I wanted to add.

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.

Title field always moves to the beginning of the blueprint
2 participants