]> 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:55:31 +0000 (16:55 +0000)
committerlpsolit%gmail.com <>
Tue, 27 Oct 2009 16:55:31 +0000 (16:55 +0000)
query.cgi
template/en/default/search/form.html.tmpl
template/en/default/search/search-help.html.tmpl

index ab07fbf0fa38abef6cbfb547b4014f7463d17600..d07773bde342cfb113157c0349860a2f9bda0c0b 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 c6b3c3b306c39c7a451a68f7b95aa8d7401630b8..c7990fd24462dac20e8fff160f7a3c4db747e30f 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