diff options
author | Gervase Markham <gerv@gerv.net> | 2015-03-30 19:53:57 +0200 |
---|---|---|
committer | Gervase Markham <gerv@gerv.net> | 2015-03-30 19:53:57 +0200 |
commit | 79ec29975ac8d1a4f49b83ed404a1ee04c33b73c (patch) | |
tree | fd747279bdfb8f3857e7e64468c0915649319523 /Bugzilla/Config/BugChange.pm | |
parent | 2c82105b0fed5d6739111c5de8dba063b01ab446 (diff) | |
download | bugzilla-79ec29975ac8d1a4f49b83ed404a1ee04c33b73c.tar.gz bugzilla-79ec29975ac8d1a4f49b83ed404a1ee04c33b73c.tar.xz |
Bug 1007605 - Make FIXED non-fixed, by changing noresolveonopenblockers to define what the fixed resolution is. r,a=glob
Diffstat (limited to 'Bugzilla/Config/BugChange.pm')
-rw-r--r-- | Bugzilla/Config/BugChange.pm | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Bugzilla/Config/BugChange.pm b/Bugzilla/Config/BugChange.pm index 0acdc0ce4..2a225b794 100644 --- a/Bugzilla/Config/BugChange.pm +++ b/Bugzilla/Config/BugChange.pm @@ -31,6 +31,10 @@ sub get_param_list { @closed_bug_statuses = @current_closed_states if scalar(@current_closed_states); }; + my $resolution_field = Bugzilla::Field->new({ name => 'resolution', cache => 1 }); + # The empty resolution is included - it represents "no value" + my @resolutions = map {$_->name} @{ $resolution_field->legal_values }; + my @param_list = ( { name => 'duplicate_or_move_bug_status', @@ -71,10 +75,13 @@ sub get_param_list { }, { - name => 'noresolveonopenblockers', - type => 'b', - default => 0, + name => 'resolution_forbidden_with_open_blockers', + type => 's', + choices => \@resolutions, + default => '', + checker => \&check_resolution, } ); + return @param_list; } |