#99043List Module: Remember sorting per table
Description
Steps to reproduce:
1. go List module
2. sort table (e.g.: tt_address) by tstamp: records are sorted old first
3. click again to sort by new records first
4. navigate away (e.g.: click another page)
5. already here, table has lost the previously set sorting (tstamp from new to old) and it back to default (very annoying with many records)
Expected behavior:
Sorting per table is remembered by TYPO3
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
History 3
-
Christian Toffolo changed Related to #93528 <span data-processor="relativetime" data-value="2022-11-10T10:47:07+00:00" > 11/10/22, 10:47 </span>
-
Georg Ringer changed Tags ux-decision <span data-processor="relativetime" data-value="2025-04-08T20:08:54+00:00" > 04/08/25, 20:08 </span>
-
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-11-13T18:23:59+00:00" > 11/13/26, 18:23 </span>
Closing as part of a backlog cleanup
In the Web > List module the sorting is plain request state:
sortFieldandsortRevare only passed via the URL (and carried along by the module’s own links and the shortcut). Nothing is stored in the backend user’s module data, neither per table nor per page.Making the sorting sticky would mean introducing a new kind of persisted state and answering questions that have no obvious answer, e.g.:
sortFieldapplies to every table of the view that has such a field.As there is no consistent concept for this and no one has picked it up in years, I’m closing this issue to keep the tracker focused.
For projects that need it, this can be built in an extension: a backend PSR-15 middleware can store the last
sortField/@sortRev@ in the user’suc(or module data) and add them to the query params of the list module request when none are given. Alternatively,ModifyDatabaseQueryForRecordListingEventgives access to the QueryBuilder and the record list, which allows persisting and applying a sorting per table.