diff --git a/server/planning/events/events.py b/server/planning/events/events.py index 10ff29c13..78d07cac4 100644 --- a/server/planning/events/events.py +++ b/server/planning/events/events.py @@ -340,7 +340,7 @@ def on_created(self, docs): duplicate_ids = parent_event.get("duplicate_to", []) duplicate_ids.append(event_id) - self.patch(parent_id, {"duplicate_to": duplicate_ids}) + self.patch(parent_id, {"duplicate_to": duplicate_ids, config.ID_FIELD: parent_id}) event_type = "events:created" user_id = str(doc.get("original_creator", ""))