summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-09-20 15:48:07 +0200
committerDavid Lawrence <dkl@mozilla.com>2016-09-20 15:48:07 +0200
commit20c96f82ca2f624f57766adc44be087879f55d53 (patch)
treefbf24aaeeee39bdb25b6f430b0c7762347d71a21 /Bugzilla/WebService
parenta2f813d8d4a129455feae4cb9b1fe97c23bac588 (diff)
downloadbugzilla-20c96f82ca2f624f57766adc44be087879f55d53.tar.gz
bugzilla-20c96f82ca2f624f57766adc44be087879f55d53.tar.xz
Bug 1303659 - Bug.comments (/rest/bug/<id>/comment) should return the count value in the results
Diffstat (limited to 'Bugzilla/WebService')
-rw-r--r--Bugzilla/WebService/Bug.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm
index f9a91797e..20a21147d 100644
--- a/Bugzilla/WebService/Bug.pm
+++ b/Bugzilla/WebService/Bug.pm
@@ -388,6 +388,7 @@ sub _translate_comment {
is_private => $self->type('boolean', $comment->is_private),
text => $self->type('string', $comment->body_full),
attachment_id => $self->type('int', $attach_id),
+ count => $self->type('int', $comment->count),
};
# Don't load comment tags unless enabled