Jelajahi Sumber

Fixes #9704: Include last_updated field on JournalEntry REST API serializer

jeremystretch 3 tahun lalu
induk
melakukan
ed7f42a803
2 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 1 0
      docs/release-notes/version-3.2.md
  2. 1 1
      netbox/extras/api/serializers.py

+ 1 - 0
docs/release-notes/version-3.2.md

@@ -18,6 +18,7 @@
 * [#9632](https://github.com/netbox-community/netbox/issues/9632) - Automatically focus on search box when expanding dropdowns
 * [#9657](https://github.com/netbox-community/netbox/issues/9657) - Fix filtering for custom fields and webhooks in the UI
 * [#9682](https://github.com/netbox-community/netbox/issues/9682) - Fix bulk assignment of ASNs to sites
+* [#9704](https://github.com/netbox-community/netbox/issues/9704) - Include `last_updated` field on JournalEntry REST API serializer
 
 ---
 

+ 1 - 1
netbox/extras/api/serializers.py

@@ -221,7 +221,7 @@ class JournalEntrySerializer(NetBoxModelSerializer):
         model = JournalEntry
         fields = [
             'id', 'url', 'display', 'assigned_object_type', 'assigned_object_id', 'assigned_object', 'created',
-            'created_by', 'kind', 'comments', 'tags', 'custom_fields',
+            'created_by', 'kind', 'comments', 'tags', 'custom_fields', 'last_updated',
         ]
 
     def validate(self, data):