mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
Add search results for part-category and stock-location
This commit is contained in:
@ -236,6 +236,11 @@ class StockLocationList(generics.ListCreateAPIView):
|
||||
'parent',
|
||||
]
|
||||
|
||||
search_fields = [
|
||||
'name',
|
||||
'description',
|
||||
]
|
||||
|
||||
|
||||
class StockList(generics.ListCreateAPIView):
|
||||
""" API endpoint for list view of Stock objects
|
||||
|
Reference in New Issue
Block a user