set inventory serach param to param=search
This commit is contained in:
@@ -45,7 +45,7 @@ class InventoryEntryViewSet(viewsets.ModelViewSet):
|
||||
""" search & filter by date range or return all objects """
|
||||
|
||||
query_params = self.request.query_params
|
||||
query = query_params.get('query')
|
||||
query = query_params.get('search')
|
||||
start_date = query_params.get('start')
|
||||
end_date = query_params.get('end')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user