diff options
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r-- | Bugzilla/Bug.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index ea8e4bc3d..23a92b080 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -3415,9 +3415,13 @@ sub choices { if (!grep($_->name eq $self->product_obj->name, @products)) { unshift(@products, $self->product_obj); } + my %class_ids = map { $_->classification_id => 1 } @products; + my $classifications = + Bugzilla::Classification->new_from_list([keys %class_ids]); my %choices = ( bug_status => $self->statuses_available, + classification => $classifications, product => \@products, component => $self->product_obj->components, version => $self->product_obj->versions, |