Feature #11543
Sort attachments by name
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Attachments | |||
Target version: | Candidate for next major release | |||
Resolution: |
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.
Related issues
History
#1
Updated by Toshi MARUYAMA almost 10 years ago
- Category set to Attachments
#2
Updated by Jean-Philippe Lang almost 10 years ago
- Tracker changed from Defect to Feature
- Subject changed from Attachment sorting to Sort attachments by name
#3
Updated by Go MAEDA about 2 years ago
If the patch in #1718 is accepted, we can make use of tablesort js library to implement this feature.
#4
Updated by Go MAEDA about 2 years ago
- Related to Feature #1718: Table column sorting added
#5
Updated by Go MAEDA about 2 years ago
- Related to Feature #10709: Upload files view in reverse chronogical order added
#6
Updated by Yuichi HARADA about 1 year ago
- File issue.png added
- File wiki.png added
- File 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
#7
Updated by Go MAEDA about 1 year ago
- Target version set to Candidate for next major release
#8
Updated by Yuichi HARADA about 1 year ago
- File issue-v2.png added
- File 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.