You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sorting the trash overview by the Status column leaves the list unsorted #4274
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
In the trash overview's table view, the "Status" column header is sortable, but the view only sorts by name. ResourceTable decides on its own which headers are sortable (determineResourceTableSortFields(resources[0]), which returns spaceTableSortFields with indicators for spaces), and the status column is always shown. The sort-fields the views pass only end up as an HTML attribute, they don't reach the table's headers. Clicking "Status" sets sort-by=indicators, which isn't one of the view's sort fields, so sortHelper returns the list unsorted and Personal is no longer on top. The value is persisted, so the trash overview stays unsorted on the next visit too. On main the same click throws Cannot read properties of undefined (reading 'toString').
Reproduction Steps
Have a few project spaces with deleted files
Open /files/trash/overview?view-mode=resource-table
Click the "Status" column header
Expected Outcome
The "Status" header isn't sortable in the trash overview (only the name is), or the list stays sorted by name.
Actual Outcome
The URL gets sort-by=indicators, the header shows Status as the sorted column, the list isn't sorted anymore and stays like that after reopening the trash overview.
Activity
AlexAndBear commentedon Nov 4, 2026
Covered by #4270.