Commit 8965bbc6 authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 171475: make new flags include all categories (product/component…

Fix for bug 171475: make new flags include all categories (product/component combinations) by default. r=joel
parent 1047021c
......@@ -130,9 +130,11 @@ sub edit {
$vars->{'type'}->{'exclusions'} = Bugzilla::FlagType::get_exclusions($::FORM{'id'});
}
# Otherwise set the target type (the minimal information about the type
# that the template needs to know) from the URL parameter.
# that the template needs to know) from the URL parameter and default
# the list of inclusions to all categories.
else {
$vars->{'type'} = { 'target_type' => $::FORM{'target_type'} };
$vars->{'type'} = { 'target_type' => $::FORM{'target_type'} ,
'inclusions' => ["__Any__:__Any__"] };
}
# Return the appropriate HTTP response headers.
......
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