summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/crm/organizations/components/graphql/get_group_organizations.query.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/crm/organizations/components/graphql/get_group_organizations.query.graphql')
-rw-r--r--app/assets/javascripts/crm/organizations/components/graphql/get_group_organizations.query.graphql13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/javascripts/crm/organizations/components/graphql/get_group_organizations.query.graphql b/app/assets/javascripts/crm/organizations/components/graphql/get_group_organizations.query.graphql
new file mode 100644
index 00000000000..e8d8109431e
--- /dev/null
+++ b/app/assets/javascripts/crm/organizations/components/graphql/get_group_organizations.query.graphql
@@ -0,0 +1,13 @@
+#import "./crm_organization_fields.fragment.graphql"
+
+query organizations($groupFullPath: ID!) {
+ group(fullPath: $groupFullPath) {
+ __typename
+ id
+ organizations {
+ nodes {
+ ...OrganizationFragment
+ }
+ }
+ }
+}