[GH-ISSUE #1184] Sorting arrows are not there #761

Open
opened 2026-03-02 16:01:17 +03:00 by kerem · 4 comments
Owner

Originally created by @anderewrey on GitHub (May 20, 2024).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1184

I'm on version 2.5.3 and maybe it is a local config problem, but the sorting arrows on filename/size/date columns are not displayed (and so, not possible to sort). I have that problem on both my laptop browser and on my smartphone browser.

While I can see these arrows on the demo, they are not visible on my hosted site.

Screenshot_2024-05-20-21-41-33-90_3aea4af51f236e4932235fdada7d1643

Screenshot_2024-05-20-21-40-59-10_3aea4af51f236e4932235fdada7d1643

Any idea how to investigate the problem?

Thanks

Originally created by @anderewrey on GitHub (May 20, 2024). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1184 I'm on version 2.5.3 and maybe it is a local config problem, but the sorting arrows on filename/size/date columns are not displayed (and so, not possible to sort). I have that problem on both my laptop browser and on my smartphone browser. While I can see these arrows on the demo, they are not visible on my hosted site. ![Screenshot_2024-05-20-21-41-33-90_3aea4af51f236e4932235fdada7d1643](https://github.com/prasathmani/tinyfilemanager/assets/57828010/89113be7-09b6-4879-bf5a-8705f1a17882) ![Screenshot_2024-05-20-21-40-59-10_3aea4af51f236e4932235fdada7d1643](https://github.com/prasathmani/tinyfilemanager/assets/57828010/f0ea1f03-a05c-41ea-9e4a-e2f2b40260f2) Any idea how to investigate the problem? Thanks
Author
Owner

@prasathmani commented on GitHub (May 21, 2024):

not sure, arrow icons are loading from css

<!-- gh-comment-id:2121646765 --> @prasathmani commented on GitHub (May 21, 2024): not sure, arrow icons are loading from [css](https://github.com/prasathmani/tinyfilemanager/blob/a1ae0fa7297aaa326db7da6724c0cc1eb3767b2c/tinyfilemanager.php#L3804)
Author
Owner

@anderewrey commented on GitHub (May 21, 2024):

so the icon is embedded and associated to css style over the header. I will start there. Thanks.

From your knowledge, nothing should prevent that sorting ability, right?

<!-- gh-comment-id:2122979584 --> @anderewrey commented on GitHub (May 21, 2024): so the icon is embedded and associated to css style over the header. I will start there. Thanks. From your knowledge, nothing should prevent that sorting ability, right?
Author
Owner

@prasathmani commented on GitHub (May 21, 2024):

yes

<!-- gh-comment-id:2123535250 --> @prasathmani commented on GitHub (May 21, 2024): yes
Author
Owner

@anderewrey commented on GitHub (May 23, 2024):

Found the error, and your master branch is no more affected because you're now fetching the assets on the web directly.

But in v2.5.3: https://github.com/prasathmani/tinyfilemanager/releases/tag/2.5.3
https://github.com/prasathmani/tinyfilemanager/blob/2.5.3/tinyfilemanager.php#L149

    'js-jquery-datatables' => '<script src="assets/js/dataTables.min.js"></script>',

and on Linux, the path is case-sensitive: https://github.com/prasathmani/tinyfilemanager/blob/2.5.3/assets/js/datatables.min.js

see the capital 'T' in dataTable.

Since the real file has capital 'T' :

    'js-jquery-datatables' => '<script src="https://cdn.datatables.net/1.13.1/js/jquery.dataTables.min.js" crossorigin="anonymous" defer></script>',

It means the problem happened when you copied the file in the assert folder.

<!-- gh-comment-id:2127650735 --> @anderewrey commented on GitHub (May 23, 2024): Found the error, and your master branch is no more affected because you're now fetching the assets on the web directly. But in v2.5.3: https://github.com/prasathmani/tinyfilemanager/releases/tag/2.5.3 https://github.com/prasathmani/tinyfilemanager/blob/2.5.3/tinyfilemanager.php#L149 ```` 'js-jquery-datatables' => '<script src="assets/js/dataTables.min.js"></script>', ```` and on Linux, the path is case-sensitive: https://github.com/prasathmani/tinyfilemanager/blob/2.5.3/assets/js/datatables.min.js see the capital 'T' in dataTable. Since the real file has capital 'T' : ```` 'js-jquery-datatables' => '<script src="https://cdn.datatables.net/1.13.1/js/jquery.dataTables.min.js" crossorigin="anonymous" defer></script>', ```` It means the problem happened when you copied the file in the assert folder.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#761
No description provided.