Commit effbef93 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 370913: query.cgi associates wrong components with products if at least one…

Bug 370913: query.cgi associates wrong components with products if at least one product has no component - Patch by Teemu Mannermaa <wicked+bz@etlicon.fi> r/a=LpSolit
parent 1a0c2b4f
......@@ -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 %]] = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment