#109504Form manager does not restore list position after closing the editor
Description
*Problem*
When opening a form for editing from the form manager list, the close button in the form editor always redirects back to the first page of the list. Regardless of which page, search term or sort order was active before opening the editor.
*Steps to reproduce*
1. Open the Form module in the TYPO3 backend
2. Navigate to page 2 or later (or apply a search/sort)
3. Click “Edit” on any form
4. In the form editor, click the close/back button
*Expected result*
The user is returned to the same list page and state (pagination, search term, sort order) they were on before opening the editor.
*Actual result*
The user is always redirected to page 1 of the list with no active filters or sort order.
*Fix*
Capture the current request URI in indexAction() and pass it as returnUrl when building the edit URLs in getAvailableFormDefinitions().
—-
TYPO3 Version: 14.x (and likely 13.x)
Severity: Minor
Reviews 1
History 36
-
Gerrit Code Review pushed patch set 1 for main to change 93561 status
NewUnder Review 04/08/26, 05:45 -
Gerrit Code Review pushed patch set 2 for main to change 93561 04/08/26, 05:47
-
Gerrit Code Review pushed patch set 3 for main to change 93561 04/08/26, 05:51
-
Josua Vogel changed category 04/08/26, 07:15
-
Amir Arends commented and changed status
Under ReviewResolved done0 %100 % 04/08/26, 19:05 -
Benni Mack changed status
ResolvedClosed 04/21/26, 11:30
Applied in changeset commit:0c770560f35b440dcc09dd54bb6e36d5a105598a.