[Rt-devel] RT 3.6.5 Bug - Ticket attribute values in spreadsheet download are not localized

Stephen Turner sturner at MIT.EDU
Wed Dec 5 17:05:49 EST 2007


RT 3.6.5.

Ticket attribute values in spreadsheet download are not localized. 
This came up as an issue for us as we have use localization to rename 
the 'stalled' status to 'waiting'.

Patch to Search/Results.tsv below.

Thanks,
Steve

  diff -u share/html/Search/Results.tsv local/html/Search/Results.tsv
--- share/html/Search/Results.tsv       2007-04-24 13:21:42.000000000 -0400
+++ local/html/Search/Results.tsv       2007-12-05 17:03:03.000000000 -0500
@@ -81,7 +81,7 @@
              $row->{$attr} = "";
          } else {
              my $method = '$Ticket->'.$attr.'()';
-            $row->{$attr} = eval $method;
+            $row->{$attr} = loc(eval $method);
              if ($@) {die "Failed to find $attr - ". $@};
          }
      }



More information about the Rt-devel mailing list