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:
Diffstat (limited to 'app/assets/javascripts/organizations/shared/graphql/queries/projects.query.graphql')
-rw-r--r--app/assets/javascripts/organizations/shared/graphql/queries/projects.query.graphql15
1 files changed, 13 insertions, 2 deletions
diff --git a/app/assets/javascripts/organizations/shared/graphql/queries/projects.query.graphql b/app/assets/javascripts/organizations/shared/graphql/queries/projects.query.graphql
index caf82ef90ca..f74d1002ab2 100644
--- a/app/assets/javascripts/organizations/shared/graphql/queries/projects.query.graphql
+++ b/app/assets/javascripts/organizations/shared/graphql/queries/projects.query.graphql
@@ -1,7 +1,15 @@
-query getOrganizationProjects($id: OrganizationsOrganizationID!) {
+#import "~/graphql_shared/fragments/page_info.fragment.graphql"
+
+query getOrganizationProjects(
+ $id: OrganizationsOrganizationID!
+ $first: Int
+ $last: Int
+ $before: String
+ $after: String
+) {
organization(id: $id) {
id
- projects {
+ projects(first: $first, last: $last, before: $before, after: $after) {
nodes {
id
nameWithNamespace
@@ -24,6 +32,9 @@ query getOrganizationProjects($id: OrganizationsOrganizationID!) {
stringValue
}
}
+ pageInfo {
+ ...PageInfo
+ }
}
}
}