From 4587cba89586ff3e00ed863748857ecf56a41532 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 14 Oct 2005 06:42:32 +0000 Subject: Bug 306601: Bugzilla::Classification needs a products() method - Patch by André Batosti r=LpSolit a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/search/form.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/en/default/search/form.html.tmpl') diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index a8905cc09..80bf0a2b9 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -43,7 +43,7 @@ var tms = new Array(); [% nclass = 0 %] [% FOREACH c = classification %] prods[[% nclass FILTER js %]] = [ - [%- FOREACH item = c.products %]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; + [%- FOREACH item = c.products %]'[% item.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% nclass = nclass+1 %] [% END %] -- cgit v1.2.3-24-g4f1b