]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 370913: query.cgi associates wrong components with products if at least one produ...
authorlpsolit%gmail.com <>
Wed, 21 Feb 2007 00:56:25 +0000 (00:56 +0000)
committerlpsolit%gmail.com <>
Wed, 21 Feb 2007 00:56:25 +0000 (00:56 +0000)
template/en/default/search/form.html.tmpl

index 3326e7ee0ff353bcf0e314128ade1124c74019cc..30e2f26506ec1496ba69fb555ae616c8dc4ab18f 100644 (file)
@@ -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 %]] = [