Commit 297fc3e8 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 290095: Do not display flag types in show_bug.cgi whose inclusion list is…

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
parent fd7f8dfe
......@@ -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)");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment