From 0d280b9011568abf2c5f95a33fd20195b91528d9 Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Tue, 20 Jul 2010 14:58:47 -0700 Subject: Bug 579514: Make Bug.attachments also return attachment data r=dkl, a=mkanat --- Bugzilla/WebService.pm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'Bugzilla/WebService.pm') diff --git a/Bugzilla/WebService.pm b/Bugzilla/WebService.pm index 9e83a5a64..0ca5da267 100644 --- a/Bugzilla/WebService.pm +++ b/Bugzilla/WebService.pm @@ -269,11 +269,11 @@ the structs, to possibly improve performance or save some bandwidth. =over -=item C (array) +=item C -An array of strings, representing the (case-sensitive) names of fields. -Only the fields specified in this hash will be returned, the rest will -not be included. +C An array of strings, representing the (case-sensitive) names of +fields in the return value. Only the fields specified in this hash will +be returned, the rest will not be included. If you specify an empty array, then this function will return empty hashes. @@ -288,10 +288,11 @@ would return something like: { users => [{ id => 1, name => 'user@domain.com' }] } -=item C (array) +=item C -An array of strings, representing the (case-sensitive) names of fields. -The fields specified will not be included in the returned hashes. +C An array of strings, representing the (case-sensitive) names of +fields in the return value. The fields specified will not be included in +the returned hashes. If you specify all the fields, then this function will return empty hashes. -- cgit v1.2.3-24-g4f1b