Skip to content

Redirect edit pages to the previous page on save#16140

Merged
brandonkelly merged 12 commits into5.9from
feature/cms-655-redirect-edit-pages-to-the-previous-page-on-save
Nov 14, 2025
Merged

Redirect edit pages to the previous page on save#16140
brandonkelly merged 12 commits into5.9from
feature/cms-655-redirect-edit-pages-to-the-previous-page-on-save

Conversation

@brianjhanson
Copy link
Contributor

@brianjhanson brianjhanson commented Nov 18, 2024

A revival of #12400 which got closed accidentally.

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

As an added bonus, search queries for searches using the vue AdminTable component will now be persisted to the URL.

Fixes #11261, #11246

@linear
Copy link

linear bot commented Nov 18, 2024

@brianjhanson brianjhanson changed the base branch from 5.x to 5.6 November 18, 2024 18:10
@brandonkelly brandonkelly changed the base branch from 5.6 to 5.7 January 21, 2025 18:00
Base automatically changed from 5.7 to 5.x April 15, 2025 17:49
@brandonkelly brandonkelly changed the base branch from 5.x to 5.9 November 14, 2025 15:26
…evious-page-on-save

# Conflicts:
#	src/controllers/ElementsController.php
#	src/controllers/EntryTypesController.php
#	src/web/assets/admintable/dist/js/app.js
#	src/web/assets/admintable/dist/js/app.js.map
[ci skip]
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