diff --git a/opencti-platform/opencti-front/src/private/components/common/stix_relationships/StixRelationshipsNumber.jsx b/opencti-platform/opencti-front/src/private/components/common/stix_relationships/StixRelationshipsNumber.jsx index b0e246b00fb7..c63cb2c94a32 100644 --- a/opencti-platform/opencti-front/src/private/components/common/stix_relationships/StixRelationshipsNumber.jsx +++ b/opencti-platform/opencti-front/src/private/components/common/stix_relationships/StixRelationshipsNumber.jsx @@ -60,6 +60,7 @@ const StixRelationshipsNumber = ({ variant, height, startDate, + endDate, dataSelection, parameters = {}, }) => { @@ -69,7 +70,7 @@ const StixRelationshipsNumber = ({ const dateAttribute = selection.date_attribute && selection.date_attribute.length > 0 ? selection.date_attribute : 'created_at'; - const { filters } = buildFiltersAndOptionsForWidgets(selection.filters); + const { filters } = buildFiltersAndOptionsForWidgets(selection.filters, { startDate, endDate, dateAttribute }); return (