[Rt-commit] r13003 - in rt/branches/3.8-TESTING: share/html/Search
sartak at bestpractical.com
sartak at bestpractical.com
Fri Jun 6 18:56:21 EDT 2008
Author: sartak
Date: Fri Jun 6 18:56:21 2008
New Revision: 13003
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/share/html/Search/Results.tsv
Log:
r61812 at onn: sartak | 2008-06-06 18:56:07 -0400
Remove tabs from the values in the tsv export. rt3.fsck.com #9579.
Modified: rt/branches/3.8-TESTING/share/html/Search/Results.tsv
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Search/Results.tsv (original)
+++ rt/branches/3.8-TESTING/share/html/Search/Results.tsv Fri Jun 6 18:56:21 2008
@@ -124,6 +124,12 @@
$val =~ s/(\n|\r)//g;
push @row, $val;
}
+
+ # remove tabs from all field values, they screw up the tsv
+ for (@row) {
+ $_ =~ s{\t}{ }g;
+ }
+
$m->out(join("\t", at row));
$m->out("\n");
}
More information about the Rt-commit
mailing list