diff options
author | justdave%bugzilla.org <> | 2004-05-30 19:40:16 +0200 |
---|---|---|
committer | justdave%bugzilla.org <> | 2004-05-30 19:40:16 +0200 |
commit | 15ca6f2c2edc03a15adf06374015edbfb0a58ecb (patch) | |
tree | 027397b3651228453e465e625c33ed6b371fb136 | |
parent | 66984b98691edbbd4617a351c9a976ad9d6a8f58 (diff) | |
download | bugzilla-15ca6f2c2edc03a15adf06374015edbfb0a58ecb.tar.gz bugzilla-15ca6f2c2edc03a15adf06374015edbfb0a58ecb.tar.xz |
Bug 179671: Boolean charts didn't work on the reporting pages.
r=jouni, a=justdave
-rwxr-xr-x | report.cgi | 2 | ||||
-rw-r--r-- | template/en/default/search/form.html.tmpl | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/report.cgi b/report.cgi index 03ecfcb3f..66060723d 100755 --- a/report.cgi +++ b/report.cgi @@ -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; diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index 015387b11..2fd458148 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -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 *** %] |