mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Cannot filter by STATUS
- Is this because it is a dict? - Need to address this in the future
This commit is contained in:
parent
7a7b0aea33
commit
88103b63d2
@ -226,7 +226,7 @@ class StockList(generics.ListCreateAPIView):
|
||||
'supplier_part',
|
||||
'customer',
|
||||
'belongs_to',
|
||||
'status',
|
||||
#'status',
|
||||
]
|
||||
|
||||
|
||||
@ -304,8 +304,6 @@ location_endpoints = [
|
||||
|
||||
|
||||
stock_api_urls = [
|
||||
# Detail for a single stock item
|
||||
url(r'^(?P<pk>[0-9]+)/', include(stock_endpoints)),
|
||||
|
||||
url(r'location/?', StockLocationList.as_view(), name='api-location-list'),
|
||||
|
||||
@ -319,5 +317,8 @@ stock_api_urls = [
|
||||
|
||||
url(r'^tree/?', StockCategoryTree.as_view(), name='api-stock-tree'),
|
||||
|
||||
# Detail for a single stock item
|
||||
url(r'^(?P<pk>\d+)/', include(stock_endpoints)),
|
||||
|
||||
url(r'^.*$', StockList.as_view(), name='api-stock-list'),
|
||||
]
|
Loading…
Reference in New Issue
Block a user