summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService.pm
diff options
context:
space:
mode:
authorSimon Green <sgreen@redhat.com>2013-02-15 15:16:48 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2013-02-15 15:16:48 +0100
commitaa73e4b5cf57c21c06c604375a7fcc6b5a981f3e (patch)
tree01b8ae84de246192d8ccc743a2cad72106d80b40 /Bugzilla/WebService.pm
parent82bab122d14431f4bf3f1c31988434aec2386515 (diff)
downloadbugzilla-aa73e4b5cf57c21c06c604375a7fcc6b5a981f3e.tar.gz
bugzilla-aa73e4b5cf57c21c06c604375a7fcc6b5a981f3e.tar.xz
Bug 838846: In Product.get, include_fields => ['components'] no longer returns data about components
r/a=LpSolit
Diffstat (limited to 'Bugzilla/WebService.pm')
-rw-r--r--Bugzilla/WebService.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/WebService.pm b/Bugzilla/WebService.pm
index 67aa21374..5b2825375 100644
--- a/Bugzilla/WebService.pm
+++ b/Bugzilla/WebService.pm
@@ -275,6 +275,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