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:
Oliver 2022-06-01 16:52:43 +10:00 committed by GitHub
parent 8c9f676ffb
commit e174096173
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -4,11 +4,14 @@ InvenTree API version information
# 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
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
- Allow part list API to be searched by supplier SKU

View File

@ -106,8 +106,10 @@ class BuildList(APIDownloadMixin, generics.ListCreateAPIView):
search_fields = [
'reference',
'part__name',
'title',
'part__name',
'part__IPN',
'part__description',
]
def get_queryset(self):