From bfe719017240bceaf7c686baf4d30f9dcc35b943 Mon Sep 17 00:00:00 2001 From: Michael J Tosh Date: Mon, 14 Feb 2011 11:50:25 -0800 Subject: Bug 417551: Make it possible for CSV headers to be the field description instead of the field name, and have the buglist.cgi link give you CSV like this by default. r=mkanat, a=mkanat --- buglist.cgi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index 4b7fe8f5a..64681b2cd 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -1130,6 +1130,10 @@ if ($format->{'extension'} eq "csv") { # We set CSV files to be downloaded, as they are designed for importing # into other programs. $disposition = "attachment"; + + # If the user clicked the CSV link in the search results, + # They should get the Field Description, not the column name in the db + $vars->{'human'} = $cgi->param('human'); } # Suggest a name for the bug list if the user wants to save it as a file. -- cgit v1.2.3-24-g4f1b