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.graphql4
1 files changed, 3 insertions, 1 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 aaaaf3485ad..e18eea33041 100644
--- a/app/assets/javascripts/graphql_shared/queries/users_search.query.graphql
+++ b/app/assets/javascripts/graphql_shared/queries/users_search.query.graphql
@@ -1,11 +1,13 @@
#import "../fragments/user.fragment.graphql"
+#import "~/graphql_shared/fragments/user_availability.fragment.graphql"
query usersSearch($search: String!, $fullPath: ID!) {
workspace: project(fullPath: $fullPath) {
- users: projectMembers(search: $search) {
+ users: projectMembers(search: $search, relations: [DIRECT, INHERITED, INVITED_GROUPS]) {
nodes {
user {
...User
+ ...UserAvailability
}
}
}