diff options
Diffstat (limited to 'template/en/default/search')
4 files changed, 8 insertions, 9 deletions
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index a24772c31..2f95748ed 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -329,6 +329,9 @@ function selectProduct(f) { [% PROCESS "global/field-descs.html.tmpl" %] +[%# If we resubmit to ourselves, we need to know if we are using a format. %] +<input type="hidden" name="query_format" value="[% format %]"> + [%# *** Summary *** %] <table> diff --git a/template/en/default/search/search-advanced.html.tmpl b/template/en/default/search/search-advanced.html.tmpl index d1614ae3a..4dd197218 100644 --- a/template/en/default/search/search-advanced.html.tmpl +++ b/template/en/default/search/search-advanced.html.tmpl @@ -33,8 +33,6 @@ [% 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 %] diff --git a/template/en/default/search/search-report-select.html.tmpl b/template/en/default/search/search-report-select.html.tmpl index 75716eac7..9af620d34 100644 --- a/template/en/default/search/search-report-select.html.tmpl +++ b/template/en/default/search/search-report-select.html.tmpl @@ -27,15 +27,15 @@ [% PROCESS "global/field-descs.html.tmpl" %] [% BLOCK select %] - [% fields = ["product", "component", "version", "rep_platform", - "op_sys", "bug_status", "resolution", "bug_severity", - "priority", "target_milestone", "keywords", "assigned_to", - "reporter", "qa_contact", "votes" ] %] + [% rep_fields = ["product", "component", "version", "rep_platform", + "op_sys", "bug_status", "resolution", "bug_severity", + "priority", "target_milestone", "assigned_to", + "reporter", "qa_contact", "votes" ] %] <select name="[% name FILTER html %]"> <option value=""><none></option> - [% FOREACH field = fields %] + [% FOREACH field = rep_fields %] [% NEXT IF field == "target_milestone" AND !Param('usetargetmilestone') %] [% NEXT IF field == "qa_contact" AND !Param('useqacontact') %] [% NEXT IF field == "votes" AND !Param('usevotes') %] diff --git a/template/en/default/search/search.html.tmpl b/template/en/default/search/search.html.tmpl index d1614ae3a..4dd197218 100644 --- a/template/en/default/search/search.html.tmpl +++ b/template/en/default/search/search.html.tmpl @@ -33,8 +33,6 @@ [% 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 %] |