Commit 15ca6f2c authored by justdave%bugzilla.org's avatar justdave%bugzilla.org

Bug 179671: Boolean charts didn't work on the reporting pages.

r=jouni, a=justdave
parent 66984b98
......@@ -37,7 +37,7 @@ my $cgi = Bugzilla->cgi;
if (grep(/^cmd-/, $cgi->param())) {
my $params = $cgi->canonicalise_query("format", "ctype");
my $location = "query.cgi?format=" . $cgi->param('query_format') .
($params ? "&$params" : "") . "\n\n";
($params ? "&$params" : "");
print $cgi->redirect($location);
exit;
......
......@@ -332,7 +332,8 @@ function selectProduct(f) {
[% PROCESS "global/field-descs.none.tmpl" %]
[%# If we resubmit to ourselves, we need to know if we are using a format. %]
<input type="hidden" name="query_format" value="[% format FILTER html %]">
[% thisformat = query_format != '' ? query_format : format %]
<input type="hidden" name="query_format" value="[% thisformat FILTER html %]">
[%# *** Summary *** %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment