aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/request
diff options
context:
space:
mode:
authordkl%redhat.com <>2008-05-14 08:34:24 +0000
committerdkl%redhat.com <>2008-05-14 08:34:24 +0000
commit28aebb4c3b82abe10b952e86185c5d31fe809e74 (patch)
tree8fdc6fd64d108bdb0519d3dd22a4f37fe11db9a5 /template/en/default/request
parentdc57a4117a58ce2c6ef58c5ea37d6ebc6ebc9fd5 (diff)
downloadbugs-28aebb4c3b82abe10b952e86185c5d31fe809e74.tar
bugs-28aebb4c3b82abe10b952e86185c5d31fe809e74.tar.gz
bugs-28aebb4c3b82abe10b952e86185c5d31fe809e74.tar.bz2
bugs-28aebb4c3b82abe10b952e86185c5d31fe809e74.tar.xz
bugs-28aebb4c3b82abe10b952e86185c5d31fe809e74.zip
Bug 430398: request.cgi does not filter component select list on distinct values - Patch by David Lawrence <dkl@redhat.com> r/a=LpSolit
Diffstat (limited to 'template/en/default/request')
-rw-r--r--template/en/default/request/queue.html.tmpl8
1 files changed, 3 insertions, 5 deletions
diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl
index 0d626a2e1..af911b2ef 100644
--- a/template/en/default/request/queue.html.tmpl
+++ b/template/en/default/request/queue.html.tmpl
@@ -89,11 +89,9 @@ to some group are shown by default.
<td>
<select name="component">
<option value="">Any</option>
- [% FOREACH prod = products %]
- [% FOREACH comp = prod.components %]
- <option value="[% comp.name FILTER html %]" [% "selected" IF cgi.param('component') == comp.name %]>
- [% comp.name FILTER html %]</option>
- [% END %]
+ [% FOREACH comp = components %]
+ <option value="[% comp FILTER html %]" [% "selected" IF cgi.param('component') == comp %]>
+ [% comp FILTER html %]</option>
[% END %]
</select>
</td>