diff --git a/InvenTree/InvenTree/api_version.py b/InvenTree/InvenTree/api_version.py index c7a133c517..553ff85251 100644 --- a/InvenTree/InvenTree/api_version.py +++ b/InvenTree/InvenTree/api_version.py @@ -2,11 +2,14 @@ # InvenTree API version -INVENTREE_API_VERSION = 77 +INVENTREE_API_VERSION = 78 """ Increment this API version number whenever there is a significant change to the API that any clients need to know about +v78 -> 2022-10-25 : https://github.com/inventree/InvenTree/pull/3854 + - Make PartCategory to be filtered by name and description + v77 -> 2022-10-12 : https://github.com/inventree/InvenTree/pull/3772 - Adds model permission checks for barcode assignment actions diff --git a/InvenTree/part/api.py b/InvenTree/part/api.py index 6633758b43..137394ee49 100644 --- a/InvenTree/part/api.py +++ b/InvenTree/part/api.py @@ -153,6 +153,8 @@ class CategoryList(ListCreateAPI): ] filterset_fields = [ + 'name', + 'description' ] ordering_fields = [