Skip to content

Redirect edit pages to the previous page #12400

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

Conversation

brianjhanson
Copy link
Contributor

Description

Updates redirect URLs for elements and fields to return back to the referrer (when available) instead of the Element::getPostEditUrl() url.

Related issues

#11261, #11246

@brianjhanson brianjhanson requested a review from a team as a code owner November 29, 2022 23:01
@linear
Copy link

linear bot commented Nov 29, 2022

DEV-655 Redirect edit pages to the previous page on save

Pass a returnUrl query string param to edit pages when there could be multiple ways they got there, and use that as the redirect param value.

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