summaryrefslogtreecommitdiffstats
path: root/template/en/default/reports
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-09-29 13:29:52 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-09-29 13:29:52 +0200
commit324ea8a4039f901ab6fee0d9c8ee3aa5f492eb4f (patch)
treee8cf6b682f9d06238fefbc726a7cd9fed36a5624 /template/en/default/reports
parentdfa185b33b4f9ba434e087f16d949543527c3498 (diff)
downloadbugzilla-324ea8a4039f901ab6fee0d9c8ee3aa5f492eb4f.tar.gz
bugzilla-324ea8a4039f901ab6fee0d9c8ee3aa5f492eb4f.tar.xz
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">