At the moment sorting for attachments is by filename and then date. The user should have the choice on what field to sort on.

        1. attachments.png
          attachments.png
          18 kB
        2. file_attachements_sortable.gif
          file_attachements_sortable.gif
          12 kB
        3. sort_by_date.png
          sort_by_date.png
          52 kB
        4. view_attachments.jsp
          7 kB

            [JRACLOUD-6765] Allow users to choose sort field for Attachments

            I agree with tiemco78! ... and have opened JRA-33855 to request a configurable option to set default Attachment sort order.

            Betsy Walker {Appfire} added a comment - I agree with tiemco78 ! ... and have opened JRA-33855 to request a configurable option to set default Attachment sort order.

            Are there any plans to store this in User Preferences, like https://jira.atlassian.com/browse/JRA-5443?
            Or to solve the related https://jira.atlassian.com/browse/JRA-6765
            Or allow a different default change order?

            Tiemco de Jong added a comment - Are there any plans to store this in User Preferences, like https://jira.atlassian.com/browse/JRA-5443? Or to solve the related https://jira.atlassian.com/browse/JRA-6765 Or allow a different default change order?

            Roy Krishna (Inactive) added a comment - Fixed in 4.2 I believe. http://confluence.atlassian.com/display/JIRA042/JIRA+4.2+Release+Notes#JIRA42ReleaseNotes-AttachmentSortingbyDateorName

            I have tried to replace the file view-attachments jsp file and it doesn't work with the version 4.2.4 of Jira. The file /includes/icons/attachment.jsp doesn't exist !
            Anybody has an idea how to solve it ?

            Rodrigue Vaudan added a comment - I have tried to replace the file view-attachments jsp file and it doesn't work with the version 4.2.4 of Jira. The file /includes/icons/attachment.jsp doesn't exist ! Anybody has an idea how to solve it ?

            JoachimA added a comment -

            +1 to my buddy here

            JoachimA added a comment - +1 to my buddy here

            The JQuery Tablesorter would provide a convenient way to implement this. Lots of functionality out-of-the-box:

            Valentijn Scholten added a comment - The JQuery Tablesorter would provide a convenient way to implement this. Lots of functionality out-of-the-box:

            I have tried Vinh-Thach Nguyen's replacement view-attachments jsp file and it seems to work nicely. I was confused at first, however: for his change to work, Enable Thumbnails (Global Settings: Attachments) must be turned OFF.

            To change things so the most recently added attachments appears last in the list, change the "var order = "DES" statement in function sortables_init() to "var order = "ASC"

            Al Mecklenburg added a comment - I have tried Vinh-Thach Nguyen's replacement view-attachments jsp file and it seems to work nicely. I was confused at first, however: for his change to work, Enable Thumbnails (Global Settings: Attachments) must be turned OFF. To change things so the most recently added attachments appears last in the list, change the "var order = "DES" statement in function sortables_init() to "var order = "ASC"

            Excellent!
            How can we make a "sort by date" be a default sorting method?

            Michael Strelnikov added a comment - Excellent! How can we make a "sort by date" be a default sorting method?

            We have made some improvement here

            Vinh-Thach Nguyen added a comment - We have made some improvement here

            Paul Tate added a comment -

            Karsten,

            Can you fix it so that these "failed to deliver" notices stop? I've
            gotten a bunch of them.

            Thanks,
            Paul

            Paul Tate added a comment - Karsten, Can you fix it so that these "failed to deliver" notices stop? I've gotten a bunch of them. Thanks, Paul

              Unassigned Unassigned
              brian@atlassian.com BrianH
              Votes:
              35 Vote for this issue
              Watchers:
              28 Start watching this issue

                Created:
                Updated:
                Resolved: