Make PartCategories to be filterable by name and description (#3854)

* Make PartCategories to be filterable by name and description

* Bump API version
This commit is contained in:
Miklós Márton 2022-10-26 00:46:28 +02:00 committed by GitHub
parent 13cfadaf29
commit f3dee187bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -153,6 +153,8 @@ class CategoryList(ListCreateAPI):
]
filterset_fields = [
'name',
'description'
]
ordering_fields = [