mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-24 17:38:37 -06:00
Fixes #2314: Serialized representation of object in change log does not incldue assigned tags
This commit is contained in:
parent
64f34d9cd7
commit
1905516536
@ -101,8 +101,8 @@ def serialize_object(obj, extra=None):
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Include any tags
|
# Include any tags
|
||||||
# if hasattr(obj, 'tags'):
|
if hasattr(obj, 'tags'):
|
||||||
# data['tags'] = [tag.name for tag in obj.tags.all()]
|
data['tags'] = [tag.name for tag in obj.tags.all()]
|
||||||
|
|
||||||
# Append any extra data
|
# Append any extra data
|
||||||
if extra is not None:
|
if extra is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user