From: lpsolit%gmail.com <> Date: Tue, 27 Oct 2009 16:57:23 +0000 (+0000) Subject: Bug 524675: "Edit Search" fails to preserve comment, URL, and whiteboard params ... X-Git-Tag: bugzilla-3.4.3~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c11074c4f82af520008022f7ce02db5b73be799;p=thirdparty%2Fbugzilla.git Bug 524675: "Edit Search" fails to preserve comment, URL, and whiteboard params - Patch by Frédéric Buclin r=ghendricks a=LpSolit --- diff --git a/query.cgi b/query.cgi index eed4921144..71748a12ff 100755 --- 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", diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index 46df426c11..060e373205 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -273,8 +273,9 @@ function doOnSelectProduct(selectmode) { : + [% type = field.name _ "_type" %] [% INCLUDE "search/type-select.html.tmpl" - name = field.name _ "_type", + name = type, types = query_types, selected = default.$type.0 %] "target_milestone", html => "The target_milestone field is used to define when the engineer
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
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