2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 11:10:54 +00:00

Improve server-side pagination of SalesOrderLineItem

This commit is contained in:
Oliver Walters
2021-03-02 12:33:41 +11:00
parent 4ff1c690cc
commit 1c3b017283
3 changed files with 22 additions and 3 deletions

View File

@ -853,7 +853,9 @@ class StockList(generics.ListCreateAPIView):
'status',
]
ordering = ['part__name']
ordering = [
'part__name'
]
search_fields = [
'serial',