summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-11-22 09:07:19 +0100
committergerv%gerv.net <>2002-11-22 09:07:19 +0100
commit0197f0738a4e649338a6ac647bc924d34da9ad11 (patch)
treea5d40edde835736ed0822f7934c918339846afed /template/en/default/reports
parent34d0206a1debacd3630cad4672c6996806233918 (diff)
downloadbugzilla-0197f0738a4e649338a6ac647bc924d34da9ad11.tar.gz
bugzilla-0197f0738a4e649338a6ac647bc924d34da9ad11.tar.xz
Bug 181182 - Reporting fix pack 2. Fixes bug 179198 (Don't print labels for pie chart wedges when smaller than a certain size), bug 180255 (Tabular report CSV downloads should suggest csv filename), and bug 180967 (csv reports swap rows/columns). Patch by gerv; r=joel, a=justdave.
Diffstat (limited to 'template/en/default/reports')
-rw-r--r--template/en/default/reports/report-pie.png.tmpl7
-rw-r--r--template/en/default/reports/report.html.tmpl2
2 files changed, 5 insertions, 4 deletions
diff --git a/template/en/default/reports/report-pie.png.tmpl b/template/en/default/reports/report-pie.png.tmpl
index f34397e12..76a717779 100644
--- a/template/en/default/reports/report-pie.png.tmpl
+++ b/template/en/default/reports/report-pie.png.tmpl
@@ -26,9 +26,10 @@
[% FILTER null;
USE graph = GD.Graph.pie(width, height);
- graph.set(title => col_field_disp,
- pie_height => 20,
- start_angle => 180);
+ graph.set(title => col_field_disp,
+ pie_height => 20,
+ suppress_angle => 2,
+ start_angle => 180);
graph.plot(data.0).png | stdout(1);
END;
diff --git a/template/en/default/reports/report.html.tmpl b/template/en/default/reports/report.html.tmpl
index 07d926a64..494dd796f 100644
--- a/template/en/default/reports/report.html.tmpl
+++ b/template/en/default/reports/report.html.tmpl
@@ -119,7 +119,7 @@
[% other_format.description %]
[% "</a>" UNLESS other_format.name == format %] |
[% END %]
- <a href="[% formaturl %]&amp;ctype=csv">CSV</a>
+ <a href="[% formaturl %]&amp;ctype=csv&amp;format=table">CSV</a>
</td>
[% IF format != "table" %]