summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--template/en/default/search/form.html.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl
index 3326e7ee0..30e2f2650 100644
--- a/template/en/default/search/form.html.tmpl
+++ b/template/en/default/search/form.html.tmpl
@@ -58,7 +58,8 @@ var tms = new Array();
[% n = 0 %]
[% FOREACH p = product %]
- [% IF Param('useclassification') && p.components.size %]
+ [% NEXT IF NOT p.components.size %]
+ [% IF Param('useclassification') %]
prods['[% p.name FILTER js %]'] = [% n %]
[% END %]
cpts[[% n %]] = [