Commit 2635abab authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 524675: "Edit Search" fails to preserve comment, URL, and whiteboard params…

Bug 524675: "Edit Search" fails to preserve comment, URL, and whiteboard params - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
parent 048d4e35
...@@ -128,7 +128,7 @@ sub PrefillForm { ...@@ -128,7 +128,7 @@ sub PrefillForm {
"emailassigned_to", "emailcc", "emailqa_contact", "emailassigned_to", "emailcc", "emailqa_contact",
"emaillongdesc", "content", "emaillongdesc", "content",
"changedin", "votes", "short_desc", "short_desc_type", "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", "bug_file_loc_type", "status_whiteboard",
"status_whiteboard_type", "bug_id", "status_whiteboard_type", "bug_id",
"bugidtype", "keywords", "keywords_type", "bugidtype", "keywords", "keywords_type",
......
...@@ -273,8 +273,9 @@ function doOnSelectProduct(selectmode) { ...@@ -273,8 +273,9 @@ function doOnSelectProduct(selectmode) {
<label for="[% field.name %]" accesskey="[% field.accesskey %]">[% field.description %]</label>: <label for="[% field.name %]" accesskey="[% field.accesskey %]">[% field.description %]</label>:
</th> </th>
<td> <td>
[% type = field.name _ "_type" %]
[% INCLUDE "search/type-select.html.tmpl" [% INCLUDE "search/type-select.html.tmpl"
name = field.name _ "_type", name = type,
types = query_types, selected = default.$type.0 %] types = query_types, selected = default.$type.0 %]
</td> </td>
<td><input name="[% field.name %]" id="[% field.name %]" size="40" <td><input name="[% field.name %]" id="[% field.name %]" size="40"
......
...@@ -41,10 +41,10 @@ ...@@ -41,10 +41,10 @@
{ id => "target_milestone", { id => "target_milestone",
html => "The target_milestone field is used to define when the engineer<br> html => "The target_milestone field is used to define when the engineer<br>
the $terms.bug is assigned to expects to fix it." }, 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. html => "$terms.Bugs have comments added to them by $terms.Bugzilla users.
You can<br>search for some text in those comments." }, 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" }, html => "The type of comment search you would like" },
{ id => "bug_file_loc", { id => "bug_file_loc",
html => "$terms.Bugs can have a URL associated with them - for example, a html => "$terms.Bugs can have a URL associated with them - for example, a
......
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