mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-29 02:54:34 +00:00
Add search results for part-category and stock-location
This commit is contained in:
1 parent
3427f81a34
commit
fd2e2a71f9
6 files changed
+83
-2
No files matched your search
@@ -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