diff options
author | lpsolit%gmail.com <> | 2009-10-27 17:55:31 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-10-27 17:55:31 +0100 |
commit | 2635ababda68c467e164f99a984dc7ad1766028e (patch) | |
tree | 2642a2dbed6ce1963b01378346fb986b2f763ee2 | |
parent | 048d4e352b405345da258eed9a043e9d33d5f703 (diff) | |
download | bugzilla-2635ababda68c467e164f99a984dc7ad1766028e.tar.gz bugzilla-2635ababda68c467e164f99a984dc7ad1766028e.tar.xz |
Bug 524675: "Edit Search" fails to preserve comment, URL, and whiteboard params - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
-rwxr-xr-x | query.cgi | 2 | ||||
-rw-r--r-- | template/en/default/search/form.html.tmpl | 3 | ||||
-rw-r--r-- | template/en/default/search/search-help.html.tmpl | 4 |
3 files changed, 5 insertions, 4 deletions
@@ -128,7 +128,7 @@ sub PrefillForm { "emailassigned_to", "emailcc", "emailqa_contact", "emaillongdesc", "content", "changedin", "votes", "short_desc", "short_desc_type", - "long_desc", "long_desc_type", "bug_file_loc", + "longdesc", "longdesc_type", "bug_file_loc", "bug_file_loc_type", "status_whiteboard", "status_whiteboard_type", "bug_id", "bugidtype", "keywords", "keywords_type", diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index c6b3c3b30..c7990fd24 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -273,8 +273,9 @@ function doOnSelectProduct(selectmode) { <label for="[% field.name %]" accesskey="[% field.accesskey %]">[% field.description %]</label>: </th> <td> + [% type = field.name _ "_type" %] [% INCLUDE "search/type-select.html.tmpl" - name = field.name _ "_type", + name = type, types = query_types, selected = default.$type.0 %] </td> <td><input name="[% field.name %]" id="[% field.name %]" size="40" diff --git a/template/en/default/search/search-help.html.tmpl b/template/en/default/search/search-help.html.tmpl index a087927d2..12e82ba5e 100644 --- a/template/en/default/search/search-help.html.tmpl +++ b/template/en/default/search/search-help.html.tmpl @@ -41,10 +41,10 @@ { id => "target_milestone", html => "The target_milestone field is used to define when the engineer<br> the $terms.bug is assigned to expects to fix it." }, -{ id => "long_desc", +{ id => "longdesc", html => "$terms.Bugs have comments added to them by $terms.Bugzilla users. You can<br>search for some text in those comments." }, -{ id => "long_desc_type", +{ id => "longdesc_type", html => "The type of comment search you would like" }, { id => "bug_file_loc", html => "$terms.Bugs can have a URL associated with them - for example, a |