Feature #11543

Sort attachments by name

Added by Alex K over 8 years ago. Updated 7 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:Candidate for next major release


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.

issue.png (138 KB) Yuichi HARADA, 2021-03-31 10:06

wiki.png (118 KB) Yuichi HARADA, 2021-03-31 10:07

11543.patch Magnifier (3.4 KB) Yuichi HARADA, 2021-03-31 10:09

Related issues

Related to Redmine - Feature #1718: Table column sorting Closed 2008-07-30
Related to Redmine - Feature #10709: Upload files view in reverse chronogical order New


#1 Updated by Toshi MARUYAMA over 8 years ago

  • Category set to Attachments

#2 Updated by Jean-Philippe Lang over 8 years ago

  • Tracker changed from Defect to Feature
  • Subject changed from Attachment sorting to Sort attachments by name

#3 Updated by Go MAEDA about 1 year 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 1 year ago

#5 Updated by Go MAEDA about 1 year ago

  • Related to Feature #10709: Upload files view in reverse chronogical order added

#6 Updated by Yuichi HARADA 12 days ago

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.



#7 Updated by Go MAEDA 7 days ago

  • Target version set to Candidate for next major release

Also available in: Atom PDF