From: myk%mozilla.org <> Date: Wed, 6 Nov 2002 07:45:56 +0000 (+0000) Subject: Fix for bug 171475: make new flags include all categories (product/component combinat... X-Git-Tag: bugzilla-2.17.1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8965bbc68e62609116bc66e79b7fe00726effdbf;p=thirdparty%2Fbugzilla.git Fix for bug 171475: make new flags include all categories (product/component combinations) by default. r=joel --- diff --git a/editflagtypes.cgi b/editflagtypes.cgi index aed73f284a..e02603b0a0 100755 --- a/editflagtypes.cgi +++ b/editflagtypes.cgi @@ -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.