Issue Bug Resolved

#110266Backend / Filelist: Clearing search query and paginating restores previous search term

Nikolas Hagelstein 07/22/26, 15:32 updated 09/14/26, 08:20

Description

Description

In the Media module (Filelist), if a user performs a search within a folder, clears the search input, triggers a search without a term, and then clicks to the second page using the pagination, the previously cleared search term is unexpectedly re-applied.

Steps to Reproduce

  1. Open the Media / Filelist module in the TYPO3 Backend.
  2. Select any folder containing enough files/folders to trigger pagination.
  3. Enter a search query into the search bar (e.g., “2022”) and submit/execute the search.
  4. Clear the search input field (remove “2022”).
  5. Submit/execute the empty search to restore the full file list.
  6. Click on page 2 in the pagination bar at the bottom.

Expected Result

Page 2 of the unfiltered folder content should be displayed without applying any search filter.

Actual Result

Page 2 is displayed, but the search term “2022” is automatically re-applied, filtering the view based on the old query again.

Environment

TYPO3 Version: 14.3.5
PHP Version: 8.4
Browser: Any

Reviews 2

History 38

  1. Alexander Künzl commented <span data-processor="relativetime" data-value="2026-07-27T14:07:01+00:00" > 07/27/26, 14:07 </span>

    I pushed a fix for this, the currentPage parameter also gets persisted in the form action uri, maybe this should be reset as well when submitting the search form?

  2. Josua Vogel commented <span data-processor="relativetime" data-value="2026-07-28T14:51:34+00:00" > 07/28/26, 14:51 </span>

    Yes, in my opinion the currentPage should be reseted too

  3. Alexander Künzl commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-09-14T08:20:09+00:00" > 09/14/26, 08:20 </span>

    Applied in changeset commit:e8f404d5bf4d7267cd57f1c71d7a9964fb0d4ee1.