Feature #11543
openSort attachments by name
0%
Description
Is it possible to modify one of the controller files to change the sort order of attachments shown in issues and the wiki? They're currently all sorted by the date they were uploaded, but I'd like to sort them by file name because I get various results in the order of files I upload when I do large amoutns (20-30 files) depending on my connection and which browser I use, it starts to make pretty messy lists. It would be nice if there was a feature to set this in the administrator settings as well. I've searched all over and while I have found information about sorting files in other sections of Redmine, I cannot find anything for attachments. I hope this is the right place to submit this.
Files
Related issues
Updated by Jean-Philippe Lang over 12 years ago
- Tracker changed from Defect to Feature
- Subject changed from Attachment sorting to Sort attachments by name
Updated by Go MAEDA over 4 years ago
If the patch in #1718 is accepted, we can make use of tablesort js library to implement this feature.
Updated by Go MAEDA over 4 years ago
- Related to Feature #1718: Table column sorting added
Updated by Go MAEDA over 4 years ago
- Related to Feature #10709: Upload files view in reverse chronogical order added
Updated by Yuichi HARADA over 3 years ago
- File issue.png issue.png added
- File wiki.png wiki.png added
- File 11543.patch 11543.patch added
I implemented sorting in the attachments list of Issue and Wiki (I referred to #1718). Name, Description, Author, Created can be sorting.
I have attached a patch.
Issue
Wiki
Updated by Go MAEDA over 3 years ago
- Target version set to Candidate for next major release
Updated by Yuichi HARADA over 3 years ago
- File issue-v2.png issue-v2.png added
- File 11543-v2.patch 11543-v2.patch added
- To return the sort order to the initial state, the serial number column is added to the beginning so that it can be sorted.
- The Author and the Created were separated columns, but the Created column cannot be sorted properly because the format of the displayed date-time string changes depending on the setting of My account > Language. Therefore, the Author and the Created columns have been reverted.