mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 10:55:56 +03:00
[GH-ISSUE #704] Sorting by date time still doesn't work #490
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#490
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eugeniob90 on GitHub (Jan 20, 2022).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/704
See the document attached.

@Sundwalltanner commented on GitHub (May 3, 2022):
I believe this is due to the DataTables plug-in basing whether it uses the text within the
<td>element or thedata-sortattribute of that element on the first row in the table. I think this is fine as long as you're at the root, but if you're anywhere deeper than that where the first row of the table is a back button and a bunch of empty cells, those empty cells don't havedata-sortattributes, so the DataTables plug-in ends up using the text within each<td>element and completely ignoresdata-sort.Solving this should be as simple as giving each of the
<td>elements in the row with the back button adata-sortattribute with an empty string value.This is the same problem causing issue #485.