From 855a07c2ecd95e29f5c1e98bfb74907b23d4a110 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 14 Aug 2024 14:12:03 -0400 Subject: [PATCH] Fixes #17097: Record static object representation when calling NotificationGroup.notify() --- netbox/extras/events.py | 1 + 1 file changed, 1 insertion(+) diff --git a/netbox/extras/events.py b/netbox/extras/events.py index ad603d11a91..f13a3b48fdb 100644 --- a/netbox/extras/events.py +++ b/netbox/extras/events.py @@ -139,6 +139,7 @@ def process_event_rules(event_rules, object_type, event_type, data, username=Non event_rule.action_object.notify( object_type=object_type, object_id=data['id'], + object_repr=data.get('display'), event_type=event_type )