[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.7-54-g1f4fa27

Kevin Falcone falcone at bestpractical.com
Mon Dec 21 16:48:31 EST 2009


The branch, 3.8-trunk has been updated
       via  1f4fa271b9e9c78104257f729f3046f9c30694e0 (commit)
      from  93972ffeb04f37b48b17ebdba7af0b232a358e4e (commit)

Summary of changes:
 share/html/Search/Results.tsv |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 1f4fa271b9e9c78104257f729f3046f9c30694e0
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Mon Dec 21 16:46:45 2009 -0500

    fix erroneous use of $a in sort

diff --git a/share/html/Search/Results.tsv b/share/html/Search/Results.tsv
index bb3ac44..946a35d 100644
--- a/share/html/Search/Results.tsv
+++ b/share/html/Search/Results.tsv
@@ -107,7 +107,7 @@ $r->content_type('application/vnd.ms-excel');
 
     $_ += @header - 1 foreach values %cf_name_to_pos;
 
-    foreach my $name ( sort { $cf_name_to_pos{$a} <=> $cf_name_to_pos{$a} } keys %cf_name_to_pos ) {
+    foreach my $name ( sort { $cf_name_to_pos{$a} <=> $cf_name_to_pos{$b} } keys %cf_name_to_pos ) {
         push @header, "CF-". $name;
     }
     $m->out(join("\t", @header));

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


More information about the Rt-commit mailing list