summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/graphql_shared/queries/users_search.query.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/graphql_shared/queries/users_search.query.graphql')
-rw-r--r--app/assets/javascripts/graphql_shared/queries/users_search.query.graphql12
1 files changed, 8 insertions, 4 deletions
diff --git a/app/assets/javascripts/graphql_shared/queries/users_search.query.graphql b/app/assets/javascripts/graphql_shared/queries/users_search.query.graphql
index b64ceb8e2c9..aaaaf3485ad 100644
--- a/app/assets/javascripts/graphql_shared/queries/users_search.query.graphql
+++ b/app/assets/javascripts/graphql_shared/queries/users_search.query.graphql
@@ -1,9 +1,13 @@
#import "../fragments/user.fragment.graphql"
-query usersSearch($search: String!) {
- users(search: $search) {
- nodes {
- ...User
+query usersSearch($search: String!, $fullPath: ID!) {
+ workspace: project(fullPath: $fullPath) {
+ users: projectMembers(search: $search) {
+ nodes {
+ user {
+ ...User
+ }
+ }
}
}
}