summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-09-29 13:32:08 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-09-29 13:32:08 +0200
commit3568740c745d27de35961fcffd211fef3a396f4b (patch)
tree093e0019e1157ff95533c86e40d7c60dff2f198a /template/en/default/reports
parentBug 787697 - config.cgi uri is not unique for versions and target_milestones (diff)
downloadbugzilla-3568740c745d27de35961fcffd211fef3a396f4b.tar.gz
bugzilla-3568740c745d27de35961fcffd211fef3a396f4b.tar.bz2
bugzilla-3568740c745d27de35961fcffd211fef3a396f4b.zip
Bug 793893: Tabular reports crash when no format parameter is defined
r=glob a=LpSolit
Diffstat (limited to 'template/en/default/reports')
-rw-r--r--template/en/default/reports/report.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/reports/report.html.tmpl b/template/en/default/reports/report.html.tmpl
index 8219ebd89..8dc4bc5a7 100644
--- a/template/en/default/reports/report.html.tmpl
+++ b/template/en/default/reports/report.html.tmpl
@@ -123,7 +123,7 @@
<a href="query.cgi?[% switchbase %]&amp;format=report-table">Edit this report</a>
[% ELSE %]
<a href="query.cgi?[% switchbase %]&amp;chart_format=
- [%~ format %]&amp;format=report-graph&amp;cumulate=[% cumulate %]">
+ [%~ format FILTER uri %]&amp;format=report-graph&amp;cumulate=[% cumulate %]">
Edit this report</a>
[% END %]
</td>
@@ -135,7 +135,7 @@
[% ELSE %]
<form method="get" action="report.cgi">
<input type="submit" id="remember" value="Remember report"> as
- <input type="hidden" name="query" value="[% switchbase %]&amp;format=[% format FILTER html %]&amp;action=wrap">
+ <input type="hidden" name="query" value="[% switchbase %]&amp;format=[% format FILTER uri %]&amp;action=wrap">
<input type="hidden" name="action" value="add">
<input type="hidden" name="token" value="[% issue_hash_token(['save_report']) FILTER html %]">
<input type="text" id="name" name="name" size="20" value="" maxlength="64">