From 2902d240ea8088284558566e1f9e3da69a031d38 Mon Sep 17 00:00:00 2001 From: Cathia Archidoit Date: Fri, 8 Sep 2023 17:47:49 +0200 Subject: [PATCH] [frontend] fix events order by stop_time (#4294) --- opencti-platform/opencti-front/src/schema/relay.schema.graphql | 1 + opencti-platform/opencti-graphql/src/generated/graphql.ts | 1 + opencti-platform/opencti-graphql/src/modules/event/event.graphql | 1 + 3 files changed, 3 insertions(+) diff --git a/opencti-platform/opencti-front/src/schema/relay.schema.graphql b/opencti-platform/opencti-front/src/schema/relay.schema.graphql index de625bd4849c..8de5aae2531b 100644 --- a/opencti-platform/opencti-front/src/schema/relay.schema.graphql +++ b/opencti-platform/opencti-front/src/schema/relay.schema.graphql @@ -9270,6 +9270,7 @@ enum EventsOrdering { objectLabel x_opencti_workflow_id start_time + stop_time } enum EventsFilter { diff --git a/opencti-platform/opencti-graphql/src/generated/graphql.ts b/opencti-platform/opencti-graphql/src/generated/graphql.ts index 33df3be6b4ea..10fdc8e08c94 100644 --- a/opencti-platform/opencti-graphql/src/generated/graphql.ts +++ b/opencti-platform/opencti-graphql/src/generated/graphql.ts @@ -6758,6 +6758,7 @@ export enum EventsOrdering { ObjectLabel = 'objectLabel', ObjectMarking = 'objectMarking', StartTime = 'start_time', + StopTime = 'stop_time', UpdatedAt = 'updated_at', XOpenctiWorkflowId = 'x_opencti_workflow_id' } diff --git a/opencti-platform/opencti-graphql/src/modules/event/event.graphql b/opencti-platform/opencti-graphql/src/modules/event/event.graphql index fe9e41de03bc..6faa8e33341c 100644 --- a/opencti-platform/opencti-graphql/src/modules/event/event.graphql +++ b/opencti-platform/opencti-graphql/src/modules/event/event.graphql @@ -128,6 +128,7 @@ enum EventsOrdering { objectLabel x_opencti_workflow_id start_time + stop_time } # Filtering