diff options
author | Frédéric Buclin <LpSolit@netscape.net> | 2017-08-01 16:37:44 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@netscape.net> | 2017-08-01 16:37:44 +0200 |
commit | 775362d8fb630da4fbb1e3f75c45183fd0a28667 (patch) | |
tree | 267323a27f46cecd5e1b544769912078fae2fb81 /Bugzilla/WebService/Bug.pm | |
parent | 224a72476a50a3d3408adf5b1ed1c01bc48a7701 (diff) | |
download | bugs-775362d8fb630da4fbb1e3f75c45183fd0a28667.tar bugs-775362d8fb630da4fbb1e3f75c45183fd0a28667.tar.gz bugs-775362d8fb630da4fbb1e3f75c45183fd0a28667.tar.bz2 bugs-775362d8fb630da4fbb1e3f75c45183fd0a28667.tar.xz bugs-775362d8fb630da4fbb1e3f75c45183fd0a28667.zip |
Backport upstream bug 69267: Add the ability to deactivate keywords
Diffstat (limited to 'Bugzilla/WebService/Bug.pm')
-rw-r--r-- | Bugzilla/WebService/Bug.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index b07d3cb01..34e6b6662 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -245,6 +245,7 @@ sub _legal_field_values { elsif ($field_name eq 'keywords') { my @legal_keywords = Bugzilla::Keyword->get_all; foreach my $value (@legal_keywords) { + next unless $value->is_active; push (@result, { name => $self->type('string', $value->name), description => $self->type('string', $value->description), |