diff --git a/src/backend/InvenTree/InvenTree/api_version.py b/src/backend/InvenTree/InvenTree/api_version.py index 0e59287934..94e93ea83e 100644 --- a/src/backend/InvenTree/InvenTree/api_version.py +++ b/src/backend/InvenTree/InvenTree/api_version.py @@ -1,11 +1,14 @@ """InvenTree API version information.""" # InvenTree API version -INVENTREE_API_VERSION = 589 +INVENTREE_API_VERSION = 590 """Increment this API version number whenever there is a significant change to the API that any clients need to know about.""" INVENTREE_API_TEXT = """ +v590 -> 2026-12-02 : https://github.com/inventree/InvenTree/pull/13437 + - Add notes to the search field for AuditLog list endpoint + v589 -> 2026-12-02 : https://github.com/inventree/InvenTree/pull/13434 - The "PartThumb" API endpoint now requires that the user has the 'part view' role permission diff --git a/src/backend/InvenTree/audit/api.py b/src/backend/InvenTree/audit/api.py index 0692ef4a12..e5e003da39 100644 --- a/src/backend/InvenTree/audit/api.py +++ b/src/backend/InvenTree/audit/api.py @@ -189,7 +189,7 @@ class AuditLogViewSet(OutputOptionsMixin, viewsets.ReadOnlyModelViewSet): ordering_fields = ['timestamp', 'action', 'actor'] ordering = '-timestamp' - search_fields = ['object_repr', 'actor__username'] + search_fields = ['object_repr', 'notes', 'actor__username'] def get_queryset(self): """Restrict entries to those the requesting user is allowed to view."""