summaryrefslogtreecommitdiffstats
path: root/template/en/default/search/search-specific.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-10-20 01:15:53 +0200
committerlpsolit%gmail.com <>2006-10-20 01:15:53 +0200
commit5581722e51734285f0ee8581671c27cac3b604c3 (patch)
tree98d0d9098314df78f0dc08832dc8a74730f0b214 /template/en/default/search/search-specific.html.tmpl
parent84973470df08a269632287e66c52aa30f515ccc1 (diff)
downloadbugzilla-5581722e51734285f0ee8581671c27cac3b604c3.tar.gz
bugzilla-5581722e51734285f0ee8581671c27cac3b604c3.tar.xz
Bug 312876: Make new products non-selectable until they have components - Patch by victory(_RSZ_) <bmo2007@rsz.jp> r=wurblzap a=myk
Diffstat (limited to 'template/en/default/search/search-specific.html.tmpl')
-rw-r--r--template/en/default/search/search-specific.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/search/search-specific.html.tmpl b/template/en/default/search/search-specific.html.tmpl
index e09caca7f..05c8bd180 100644
--- a/template/en/default/search/search-specific.html.tmpl
+++ b/template/en/default/search/search-specific.html.tmpl
@@ -74,7 +74,7 @@ for "crash secure SSL flash".
[% FOREACH c = classification %]
<optgroup label="[% c.name FILTER html %]">
[% FOREACH p = c.products %]
- [% IF user.can_see_product(p.name) %]
+ [% IF user.can_see_product(p.name) && p.components.size %]
<option value="[% p.name FILTER html %]"
[% " selected" IF lsearch(default.product, p.name) != -1 %]>
[% p.name FILTER html %]