mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
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:
parent
13cfadaf29
commit
f3dee187bc
@ -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
|
||||
|
||||
|
@ -153,6 +153,8 @@ class CategoryList(ListCreateAPI):
|
||||
]
|
||||
|
||||
filterset_fields = [
|
||||
'name',
|
||||
'description'
|
||||
]
|
||||
|
||||
ordering_fields = [
|
||||
|
Loading…
Reference in New Issue
Block a user