summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorMichael J Tosh <michael.j.tosh@lmco.com>2011-02-14 20:50:25 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2011-02-14 20:50:25 +0100
commitbfe719017240bceaf7c686baf4d30f9dcc35b943 (patch)
tree57d17271501b22d1a6ee0631a5f0bcb2083090f6 /buglist.cgi
parent739d3a205aa7e3da1525eb8cce2ee7ef46317702 (diff)
downloadbugzilla-bfe719017240bceaf7c686baf4d30f9dcc35b943.tar.gz
bugzilla-bfe719017240bceaf7c686baf4d30f9dcc35b943.tar.xz
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
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi4
1 files changed, 4 insertions, 0 deletions
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.