Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-27 18:09:49 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-27 18:09:49 +0300
commit99befc3927c859a3ecc9ef5d895d3f820ac5317d (patch)
tree37ca8da7b926e669668183b08c63ec4a8cd31fc2 /app/assets/javascripts/graphql_shared
parent7a20b3758e651fe79032a5165db2208183877317 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/graphql_shared')
-rw-r--r--app/assets/javascripts/graphql_shared/queries/group_users_search.query.graphql15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/assets/javascripts/graphql_shared/queries/group_users_search.query.graphql b/app/assets/javascripts/graphql_shared/queries/group_users_search.query.graphql
new file mode 100644
index 00000000000..e345fe97281
--- /dev/null
+++ b/app/assets/javascripts/graphql_shared/queries/group_users_search.query.graphql
@@ -0,0 +1,15 @@
+#import "../fragments/user.fragment.graphql"
+#import "~/graphql_shared/fragments/user_availability.fragment.graphql"
+
+query usersSearch($search: String!, $fullPath: ID!) {
+ workspace: group(fullPath: $fullPath) {
+ users: groupMembers(search: $search, relations: [DIRECT, INHERITED]) {
+ nodes {
+ user {
+ ...User
+ ...UserAvailability
+ }
+ }
+ }
+ }
+}