diff options
author | lpsolit%gmail.com <> | 2005-10-14 08:42:32 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-10-14 08:42:32 +0200 |
commit | 4587cba89586ff3e00ed863748857ecf56a41532 (patch) | |
tree | 44a8f86ab9f4a9a3e8f47426de2ce334a66ca9d7 /template/en/default/search | |
parent | 727410cca17ff168ba4337de42782d496b9679fc (diff) | |
download | bugzilla-4587cba89586ff3e00ed863748857ecf56a41532.tar.gz bugzilla-4587cba89586ff3e00ed863748857ecf56a41532.tar.xz |
Bug 306601: Bugzilla::Classification needs a products() method - Patch by André Batosti <batosti@async.com.br> r=LpSolit a=justdave
Diffstat (limited to 'template/en/default/search')
-rw-r--r-- | template/en/default/search/form.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/search/search-specific.html.tmpl | 6 |
2 files changed, 4 insertions, 4 deletions
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 %] diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl index a36be340c..1ff6f17ac 100644 --- a/template/en/default/search/search-specific.html.tmpl +++ b/template/en/default/search/search-specific.html.tmpl @@ -74,9 +74,9 @@ for "crash secure SSL flash". [% FOREACH c = classification %] <optgroup label="[% c.name FILTER html %]"> [% FOREACH p = c.products %] - <option value="[% p FILTER html %]" - [% " selected" IF lsearch(default.product, p) != -1 %]> - [% p FILTER html %] + <option value="[% p.name FILTER html %]" + [% " selected" IF lsearch(default.product, p.name) != -1 %]> + [% p.name FILTER html %] </option> [% END %] </optgroup> |