]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1372363 - Fix BMO defaults (bug modal pref, needinfo exclusions)
authorDylan William Hardison <dylan@hardison.net>
Thu, 15 Jun 2017 20:50:15 +0000 (16:50 -0400)
committerGitHub <noreply@github.com>
Thu, 15 Jun 2017 20:50:15 +0000 (16:50 -0400)
* add comment to explain 0:0

extensions/BugModal/Extension.pm
extensions/Needinfo/Extension.pm

index 90406abcac76b5a48589174c45621d5c17d82a59..1291fca215128c72e649f8ced561dc8c722e4262 100644 (file)
@@ -325,7 +325,7 @@ sub install_before_final_checks {
     add_setting({
         name     => 'ui_experiments',
         options  => ['on', 'off'],
-        default  => 'off',
+        default  => 'on',
         category => 'User Interface'
     });
     add_setting({
index 3b99b5a448c4db53b1ab712c37061c524c868143..c2d0c73049c4e65bfe97a2dcbf7c2fcb17626d6b 100644 (file)
@@ -39,8 +39,8 @@ sub install_update_db {
     print "Creating needinfo flag ... " . 
           "enable the Needinfo feature by editing the flag's properties.\n";
 
-    # Initially populate the list of exclusions as __Any__:__Any__ to
-    # allow admin to decide which products to enable the flag for.
+    # inclusions 0:0 maps to __ANY__ : __ANY__ in the UI,
+    # meaning needinfo is enabled for all products and components by default
     my $flagtype = Bugzilla::FlagType->create({
         name        => 'needinfo',
         description => "Set this flag when the bug is in need of additional information",
@@ -53,8 +53,8 @@ sub install_update_db {
         is_multiplicable => 0,
         request_group    => '',
         grant_group      => '',
-        inclusions       => [],
-        exclusions       => ['0:0'],
+        inclusions       => ['0:0'],
+        exclusions       => [],
     });
 }