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

Pass current blueprint into 'Create Another' URL #2886

Merged
merged 1 commit into from
Nov 23, 2020
Merged

Pass current blueprint into 'Create Another' URL #2886

merged 1 commit into from
Nov 23, 2020

Conversation

duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Nov 21, 2020

This pull request fixes #2885.

Whenever you'd have a collection with multiple blueprints and you picked one from the create list (that's not the first one) and you then used the Create Another mode when creating. The next entry would go back to using the default blueprint (the first one in that create list).

I saw that the create method of the EntriesController pulled a blueprint from the request so I just passed it the relevant prop.

Hopefully that makes sense, let me know if you have any questions.

@jasonvarga jasonvarga merged commit 0166b15 into statamic:master Nov 23, 2020
@jasonvarga
Copy link
Member

Thanks!

@duncanmcclean duncanmcclean deleted the fix/2885 branch November 23, 2020 19:41
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.

Wrong blueprint when creating another entry
2 participants