• v3.3.51 d159ac484a

    Administrator released this 2026-06-08 19:22:54 +02:00 | 8 commits to master since this release

    Files panel + history table sort headers: the first click on any column header now sets the natural default direction for that column (desc for date, asc for text) instead of toggling away from it.

    Why: the initial sort state was already 'date|desc' (the intuitive 'newest first' order for the Files panel and history table). The click handler treated this as 'user clicked the already-selected column → toggle direction', so the first time the user clicked Datum they actually flipped to ascending — new uploads then landed at the bottom, out of view. The user then had to click Datum a second time to flip back to descending and see them at the top.

    Fix: track whether the user has explicitly clicked a sort header during this session. On the first click on any header (or any click that changes the column), set the column's natural default direction. Only on a subsequent click on the same already-active column does the direction toggle. The arrow indicator already reflects the state, so the second click for explicit toggle still works as expected.

    Applied to both the Files panel (lower 'recent uploads' panel) and the Verlauf tab's history table.

    Downloads