summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Wittig <max.wittig95@gmail.com>2019-11-07 08:10:04 +0100
committerGitHub <noreply@github.com>2019-11-07 08:10:04 +0100
commit1f182302c206502f5202d1707fef69adf527fea7 (patch)
tree395219a5d27375e733396a02887c133c3d845b47
parentf39c68fd0b180ba72dd11e3cbad932d16d4bb484 (diff)
parentadbcd83fa172af2f3929ba063a0e780395b102d8 (diff)
downloadgitlab-1f182302c206502f5202d1707fef69adf527fea7.tar.gz
Merge pull request #932 from ConorNevin/master
Add support for include_subgroups filter
-rw-r--r--docs/gl_objects/groups.rst1
-rw-r--r--gitlab/v4/objects.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/gl_objects/groups.rst b/docs/gl_objects/groups.rst
index 7fcf980..0bc00d9 100644
--- a/docs/gl_objects/groups.rst
+++ b/docs/gl_objects/groups.rst
@@ -50,6 +50,7 @@ You can filter and sort the result using the following parameters:
``created_at``, ``updated_at`` and ``last_activity_at``
* ``sort``: sort order: ``asc`` or ``desc``
* ``ci_enabled_first``: return CI enabled groups first
+* ``include_subgroups``: include projects in subgroups
Create a group::
diff --git a/gitlab/v4/objects.py b/gitlab/v4/objects.py
index 7b9c8f3..ee659ed 100644
--- a/gitlab/v4/objects.py
+++ b/gitlab/v4/objects.py
@@ -1097,6 +1097,7 @@ class GroupProjectManager(ListMixin, RESTManager):
"owned",
"starred",
"with_custom_attributes",
+ "include_subgroups",
)