]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 524675: "Edit Search" fails to preserve comment, URL, and whiteboard params ...
authorlpsolit%gmail.com <>
Tue, 27 Oct 2009 16:57:23 +0000 (16:57 +0000)
committerlpsolit%gmail.com <>
Tue, 27 Oct 2009 16:57:23 +0000 (16:57 +0000)
query.cgi
template/en/default/search/form.html.tmpl
template/en/default/search/search-help.html.tmpl

index eed492114407b89eae8f8dac1584d28fda3fdb0b..71748a12ff87494802550f24b9cdd0bdae666d18 100755 (executable)
--- a/query.cgi
+++ b/query.cgi
@@ -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",
index 46df426c117040c907adb3cb8ae30d1ee734a75f..060e373205ff429b676e04a791093a76fe6d377a 100644 (file)
@@ -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"
index a087927d22bec865175d752e346bb5d100a45970..12e82ba5e4bca5a77e6d8b5ce42f51af15e9b28f 100644 (file)
 { 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