85158[BUGFIX] Add missing sortable folder timestamps to filelist view
Commit message
Review
-
Code review CR +2 Done
- Oli Bartsch +2
- Georg Ringer +1
-
Verified V +2 Done
- Oli Bartsch +2
- Georg Ringer +1
- Riccardo De Contardi +1
- core-ci +1 CI
Issues 1
Files 1
Review log 1316
-
Garvin Hicking uploaded patch set 1 07/08/24, 20:23
-
core-ci voted on patch set 1 V -1 07/08/24, 20:28 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/61188
-
Garvin Hicking uploaded patch set 2
V -107/08/24, 20:29Remove nullable -
core-ci voted on patch set 2 V +1 07/08/24, 20:35 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/61189
-
Riccardo De Contardi commented on patch set 1 V -1 07/08/24, 20:39
After applying the patch the creation date is visible under the "Creation date" column also for folders; but... as far as I can see if I click on the column header the folders looks still ordered by name (ascending / descending) while the files are correctly ordered by date (ascending / descending) -
Garvin Hicking commented on patch set 2 07/08/24, 20:57
Reply
Can you attach a screenshot to the issue? It worked for me, I'll attach mine. -
Garvin Hicking commented on patch set 2 07/08/24, 21:01
Reply
Oh, I'm seeing it now. Guess I was too tired and didn't see the sorting was off. Probably the controller is applying some magic to distinguish sorting on files and folders. Will have another look. -
Garvin Hicking uploaded patch set 3
V +107/08/24, 21:08Actually sort this thing out -
Garvin Hicking commented on patch set 3 07/08/24, 21:10
Reply
Please try again. 😊 It is a bit odd, if you sort by reverse, the files will get put on top of the folders. So if you would expect the latest folder on top of the list, you'll first see all files sorted by date (latest on top) and then the folders (latest on top). Or the other way round: Oldest folder on top, then after the folder listing, oldest file on top. I am quite sure this is intentional, even though it "feels weird", I think it does have merrit to do it like this. -
core-ci voted on patch set 3 V +1 07/08/24, 21:13 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/61190
-
Riccardo De Contardi commented on patch set 3 07/08/24, 21:25
Reply
It looks like that it mimics Windows' File Explorer behavior but I don't know either if it is intentional ;) Orthodox file managers (like FreeCommander on Windows or Pathfinder on Mac) usually always keep first folders and then files -
Riccardo De Contardi commented on patch set 3 V +1 07/08/24, 21:25
Latest patch works better - see also previous comment -
Garvin Hicking commented on patch set 3 07/08/24, 21:36
Reply
Thanks for checking again! I'd say for this scope we leave the sorting as-is, and if we always want folders first and then files, we can do it with a separate patch. -
Georg Ringer voted on patch set 3 CR +1 V +1 07/09/24, 04:42
-
Oli Bartsch voted on patch set 3 CR +2 V +2 07/10/24, 07:59
-
Oli Bartsch merged patch set 4 07/10/24, 07:59