mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-20 20:32:25 -06:00
* Fixes #17097: Record static object representation when calling NotificationGroup.notify() * Redirect to notifications list when marking as read notifications for deleted objects * Link to object in notifications dropdown only for non-destructive events
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user