summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorSimon Green <sgreen@redhat.com>2013-03-25 21:02:30 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-03-25 21:02:30 +0100
commitfc66b387d1cb513d5f8b03f5b9653aa358716902 (patch)
tree74ed8b8383fa7b23c2043b35416886bc01ac834d /Bugzilla
parentd01c45b93c62802f7f477a70deb21c9d9432675e (diff)
downloadbugzilla-fc66b387d1cb513d5f8b03f5b9653aa358716902.tar.gz
bugzilla-fc66b387d1cb513d5f8b03f5b9653aa358716902.tar.xz
Bug 838846 - In Product.get, include_fields => ['components'] no longer returns data about components
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/WebService.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/WebService.pm b/Bugzilla/WebService.pm
index 8e0bfd9c9..55df8124d 100644
--- a/Bugzilla/WebService.pm
+++ b/Bugzilla/WebService.pm
@@ -282,6 +282,13 @@ the returned hashes.
If you specify all the fields, then this function will return empty
hashes.
+Some RPC calls support specifying sub fields. If an RPC call states that
+it support sub field restrictions, you can restrict what information is
+returned within the first field. For example, if you call Products.get
+with an include_fields of components.name, then only the component name
+would be returned (and nothing else). You can include the main field,
+and exclude a sub field.
+
Invalid field names are ignored.
Specifying fields here overrides C<include_fields>, so if you specify a