summaryrefslogtreecommitdiffstats
path: root/template/en/default/search
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-10-27 17:55:31 +0100
committerlpsolit%gmail.com <>2009-10-27 17:55:31 +0100
commit2635ababda68c467e164f99a984dc7ad1766028e (patch)
tree2642a2dbed6ce1963b01378346fb986b2f763ee2 /template/en/default/search
parent048d4e352b405345da258eed9a043e9d33d5f703 (diff)
downloadbugzilla-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
Diffstat (limited to 'template/en/default/search')
-rw-r--r--template/en/default/search/form.html.tmpl3
-rw-r--r--template/en/default/search/search-help.html.tmpl4
2 files changed, 4 insertions, 3 deletions
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