summaryrefslogtreecommitdiff
path: root/app/graphql/types/alert_management/alert_sort_enum.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/alert_management/alert_sort_enum.rb')
-rw-r--r--app/graphql/types/alert_management/alert_sort_enum.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/graphql/types/alert_management/alert_sort_enum.rb b/app/graphql/types/alert_management/alert_sort_enum.rb
index e6d38af8170..3faac9ce53c 100644
--- a/app/graphql/types/alert_management/alert_sort_enum.rb
+++ b/app/graphql/types/alert_management/alert_sort_enum.rb
@@ -6,16 +6,16 @@ module Types
graphql_name 'AlertManagementAlertSort'
description 'Values for sorting alerts'
- value 'START_TIME_ASC', 'Start time by ascending order', value: :start_time_asc
- value 'START_TIME_DESC', 'Start time by descending order', value: :start_time_desc
- value 'END_TIME_ASC', 'End time by ascending order', value: :end_time_asc
- value 'END_TIME_DESC', 'End time by descending order', value: :end_time_desc
+ value 'STARTED_AT_ASC', 'Start time by ascending order', value: :started_at_asc
+ value 'STARTED_AT_DESC', 'Start time by descending order', value: :started_at_desc
+ value 'ENDED_AT_ASC', 'End time by ascending order', value: :ended_at_asc
+ value 'ENDED_AT_DESC', 'End time by descending order', value: :ended_at_desc
value 'CREATED_TIME_ASC', 'Created time by ascending order', value: :created_at_asc
value 'CREATED_TIME_DESC', 'Created time by descending order', value: :created_at_desc
value 'UPDATED_TIME_ASC', 'Created time by ascending order', value: :updated_at_asc
value 'UPDATED_TIME_DESC', 'Created time by descending order', value: :updated_at_desc
- value 'EVENTS_COUNT_ASC', 'Events count by ascending order', value: :events_count_asc
- value 'EVENTS_COUNT_DESC', 'Events count by descending order', value: :events_count_desc
+ value 'EVENT_COUNT_ASC', 'Events count by ascending order', value: :event_count_asc
+ value 'EVENT_COUNT_DESC', 'Events count by descending order', value: :event_count_desc
value 'SEVERITY_ASC', 'Severity by ascending order', value: :severity_asc
value 'SEVERITY_DESC', 'Severity by descending order', value: :severity_desc
value 'STATUS_ASC', 'Status by ascending order', value: :status_asc