diff options
author | lpsolit%gmail.com <> | 2005-04-15 02:07:17 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-04-15 02:07:17 +0200 |
commit | 297fc3e8d333f02f999303cd2cce501b8b12795c (patch) | |
tree | 8d4fd8e6ba0615eb46898c276037843083274ca5 | |
parent | fd7f8dfe91396c6b90f0402e52d095500fc9d28a (diff) | |
download | bugzilla-297fc3e8d333f02f999303cd2cce501b8b12795c.tar.gz bugzilla-297fc3e8d333f02f999303cd2cce501b8b12795c.tar.xz |
Bug 290095: Do not display flag types in show_bug.cgi whose inclusion list is empty - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel, a=justdave
-rw-r--r-- | Bugzilla/FlagType.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/FlagType.pm b/Bugzilla/FlagType.pm index da0c43281..6b4c31c7f 100644 --- a/Bugzilla/FlagType.pm +++ b/Bugzilla/FlagType.pm @@ -494,7 +494,7 @@ sub sqlify_criteria { # Add inclusions to the query, which simply involves joining the table # by flag type ID and target product/component. - push(@$tables, "LEFT JOIN flaginclusions ON " . + push(@$tables, "INNER JOIN flaginclusions ON " . "flagtypes.id = flaginclusions.type_id"); push(@criteria, "(flaginclusions.product_id = $product_id " . " OR flaginclusions.product_id IS NULL)"); |