diff options
author | gerv%gerv.net <> | 2002-08-11 16:50:50 +0200 |
---|---|---|
committer | gerv%gerv.net <> | 2002-08-11 16:50:50 +0200 |
commit | 17e3e995f357cf33670436264607a965b38a671d (patch) | |
tree | e976cbabdf14be2b0c1a6aec20c033f30b778c9f /template/en/default/search | |
parent | 8cadcb8c21498f7184879d1c2797ee531ea05c26 (diff) | |
download | bugzilla-17e3e995f357cf33670436264607a965b38a671d.tar.gz bugzilla-17e3e995f357cf33670436264607a965b38a671d.tar.xz |
Bug 160557 - products that start with _ do not show up properly in query.cgi. Patch by pbaker@where2getit.com and gerv; r=bbaetz.
Diffstat (limited to 'template/en/default/search')
-rw-r--r-- | template/en/default/search/form.html.tmpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index 4127d841c..b3c87b5cc 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -41,12 +41,12 @@ var tms = new Array(); [% n = 0 %] [% FOREACH p = product %] cpts[[% n %]] = [ - [%- FOREACH item = componentsbyproduct.$p %]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; + [%- FOREACH item = p.components %]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; vers[[% n %]] = [ - [%- FOREACH item = versionsbyproduct.$p -%]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; + [%- FOREACH item = p.versions -%]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% IF Param('usetargetmilestone') %] tms[[% n %]] = [ - [%- FOREACH item = milestonesbyproduct.$p %]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; + [%- FOREACH item = p.milestones %]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% END %] [% n = n+1 %] [% END %] @@ -375,9 +375,9 @@ function selectProduct(f) { <select name="product" multiple="multiple" size="5" id="product" onchange="selectProduct(this.form);"> [% FOREACH p = product %] - <option value="[% p FILTER html %]" - [% " selected" IF lsearch(default.product, p) != -1 %]> - [% p FILTER html %]</option> + <option value="[% p.name FILTER html %]" + [% " selected" IF lsearch(default.product, p.name) != -1 %]> + [% p.name FILTER html %]</option> [% END %] </select> </label> |