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

redirect to correct site after applying draft #13668

Merged
merged 3 commits into from
Sep 11, 2023

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Sep 8, 2023

Description

Fixes redirect issue in the following case:

  • you have at least 2 sites
  • you have a section enabled for both sites, with the propagation method set to custom (“Let each entry choose which sites it should be saved to”)
  • you create an entry for site1
  • you edit that entry and enable it for site2
  • without saving the provisional draft, you switch to site2, and there you save & continue editing (apply draft)

In the above case, the draft would be applied, but you’d be redirected to the entry on site1. This PR ensures you stay in the entry on site2.

Related issues

N/A

@brandonkelly brandonkelly merged commit 848d133 into develop Sep 11, 2023
@brandonkelly brandonkelly deleted the bugfix/apply-draft-redirect-issue-multisite branch September 11, 2023 22:51
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