From 20c96f82ca2f624f57766adc44be087879f55d53 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 20 Sep 2016 13:48:07 +0000 Subject: Bug 1303659 - Bug.comments (/rest/bug//comment) should return the count value in the results --- Bugzilla/WebService/Bug.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Bugzilla/WebService/Bug.pm') 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 -- cgit v1.2.3-24-g4f1b