[Rt-commit] rt branch, 4.0/sort-attachments, created. rt-4.0.1rc1-35-g61db454

Alex Vandiver alexmv at bestpractical.com
Wed Jun 15 15:34:40 EDT 2011


The branch, 4.0/sort-attachments has been created
        at  61db454cc0084b69339c32d1ccfd7f1daff16914 (commit)

- Log -----------------------------------------------------------------
commit 61db454cc0084b69339c32d1ccfd7f1daff16914
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Jun 15 15:34:37 2011 -0400

    Make the attachments list have a stable order

diff --git a/share/html/Ticket/Elements/ShowAttachments b/share/html/Ticket/Elements/ShowAttachments
index c97a1ef..60b0179 100755
--- a/share/html/Ticket/Elements/ShowAttachments
+++ b/share/html/Ticket/Elements/ShowAttachments
@@ -51,7 +51,7 @@
         class => 'ticket-info-attachments',
         color => "#336699" &>
 
-% foreach my $key (keys %documents) {
+% foreach my $key (sort keys %documents) {
 
 <%$key%><br />
 <ul>

-----------------------------------------------------------------------


More information about the Rt-commit mailing list