mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Adds ability to search build API by part parameters (#3110)
* Adds ability to filter build API by part parameters * Bump API version
This commit is contained in:
parent
8c9f676ffb
commit
e174096173
@ -4,11 +4,14 @@ InvenTree API version information
|
|||||||
|
|
||||||
|
|
||||||
# InvenTree API version
|
# InvenTree API version
|
||||||
INVENTREE_API_VERSION = 52
|
INVENTREE_API_VERSION = 53
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Increment this API version number whenever there is a significant change to the API that any clients need to know about
|
Increment this API version number whenever there is a significant change to the API that any clients need to know about
|
||||||
|
|
||||||
|
v52 -> 2022-06-01 : https://github.com/inventree/InvenTree/pull/3110
|
||||||
|
- Adds extra search fields to the BuildOrder list API endpoint
|
||||||
|
|
||||||
v52 -> 2022-05-31 : https://github.com/inventree/InvenTree/pull/3103
|
v52 -> 2022-05-31 : https://github.com/inventree/InvenTree/pull/3103
|
||||||
- Allow part list API to be searched by supplier SKU
|
- Allow part list API to be searched by supplier SKU
|
||||||
|
|
||||||
|
@ -106,8 +106,10 @@ class BuildList(APIDownloadMixin, generics.ListCreateAPIView):
|
|||||||
|
|
||||||
search_fields = [
|
search_fields = [
|
||||||
'reference',
|
'reference',
|
||||||
'part__name',
|
|
||||||
'title',
|
'title',
|
||||||
|
'part__name',
|
||||||
|
'part__IPN',
|
||||||
|
'part__description',
|
||||||
]
|
]
|
||||||
|
|
||||||
def get_queryset(self):
|
def get_queryset(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user