Review 14.3 Merged

95805[BUGFIX] Remove search term in file list search url

Benni Mack CR +2 V +2 Normal +172 −31 updated 09/14/26, 08:32

Commit message

When performing a search in the file list module,
the search term becomes part of the search
form's action url. When the search term changes,
the old search term is still part of the
action url, thus recreating the old search term.

The commit creates an own url for the search form,
without the search term.

The pagination url is built from explicit parameters
now as well, instead of reusing the query string of
the current request, which kept an outdated search
term alive in the paging links. The page selector
input uses that url instead of the form action, so
paging keeps an active search term.

This mirrors DatabaseRecordList, where the search
form leaves out "searchTerm" and "pointer".

Playwright tests cover the media module and the
records module, so both stay in sync.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • core-ci +1 CI

Issues 1

Files 8

Review log 34

  1. Benni Mack commented on patch set 1 09/14/26, 08:16

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 09/14/26, 08:31 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/108493

  3. Benni Mack voted on patch set 1 CR +2 V +2 09/14/26, 08:32

  4. Benni Mack merged patch set 2 09/14/26, 08:32