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/alert_management/graphql/queries/get_count_by_status.query.graphql')
-rw-r--r--app/assets/javascripts/alert_management/graphql/queries/get_count_by_status.query.graphql18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/assets/javascripts/alert_management/graphql/queries/get_count_by_status.query.graphql b/app/assets/javascripts/alert_management/graphql/queries/get_count_by_status.query.graphql
index 1143050200c..5a6faea5cd8 100644
--- a/app/assets/javascripts/alert_management/graphql/queries/get_count_by_status.query.graphql
+++ b/app/assets/javascripts/alert_management/graphql/queries/get_count_by_status.query.graphql
@@ -1,11 +1,11 @@
-query getAlertsCount($projectPath: ID!) {
- project(fullPath: $projectPath) {
- alertManagementAlertStatusCounts {
- all
- open
- acknowledged
- resolved
- triggered
- }
+query getAlertsCount($searchTerm: String, $projectPath: ID!) {
+ project(fullPath: $projectPath) {
+ alertManagementAlertStatusCounts(search: $searchTerm) {
+ all
+ open
+ acknowledged
+ resolved
+ triggered
}
+ }
}