summaryrefslogtreecommitdiffstats
path: root/template/en/default/search
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/search')
-rw-r--r--template/en/default/search/search-advanced.html.tmpl4
-rw-r--r--template/en/default/search/search.html.tmpl4
2 files changed, 6 insertions, 2 deletions
diff --git a/template/en/default/search/search-advanced.html.tmpl b/template/en/default/search/search-advanced.html.tmpl
index 09e83add8..d1614ae3a 100644
--- a/template/en/default/search/search-advanced.html.tmpl
+++ b/template/en/default/search/search-advanced.html.tmpl
@@ -33,7 +33,9 @@
[% button_name = "Search" %]
<form method="get" action="buglist.cgi" name="queryform">
-
+ [%# If we resubmit to ourselves, we need to know if we are using a format. %]
+ <input type="hidden" name="query_format" value="[% format %]">
+
[% PROCESS search/form.html.tmpl %]
[% PROCESS search/knob.html.tmpl %]
diff --git a/template/en/default/search/search.html.tmpl b/template/en/default/search/search.html.tmpl
index 09e83add8..d1614ae3a 100644
--- a/template/en/default/search/search.html.tmpl
+++ b/template/en/default/search/search.html.tmpl
@@ -33,7 +33,9 @@
[% button_name = "Search" %]
<form method="get" action="buglist.cgi" name="queryform">
-
+ [%# If we resubmit to ourselves, we need to know if we are using a format. %]
+ <input type="hidden" name="query_format" value="[% format %]">
+
[% PROCESS search/form.html.tmpl %]
[% PROCESS search/knob.html.tmpl %]