summaryrefslogtreecommitdiffstats
path: root/template/en/default/search/form.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/search/form.html.tmpl')
-rw-r--r--template/en/default/search/form.html.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl
index b3c87b5cc..a24772c31 100644
--- a/template/en/default/search/form.html.tmpl
+++ b/template/en/default/search/form.html.tmpl
@@ -326,7 +326,9 @@ function selectProduct(f) {
{ value => "anywords", description => "contains any of the words" },
{ value => "regexp", description => "matches the regexp" },
{ value => "notregexp", description => "doesn't match the regexp" } ] %]
-
+
+[% PROCESS "global/field-descs.html.tmpl" %]
+
[%# *** Summary *** %]
<table>
@@ -664,7 +666,7 @@ function selectProduct(f) {
[% FOREACH field = chfield %]
<option value="[% field FILTER html %]"
[% " selected" IF lsearch(default.chfield, field) != -1 %]>
- [% field FILTER html %]</option>
+ [% (field_descs.$field || field) FILTER html %]</option>
[% END %]
</select>
</dd>