2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-23 19:10:19 +00:00

Fix server-side ordering for purchase order table

This commit is contained in:
Oliver Walters
2021-03-03 08:13:55 +11:00
parent a53aadd466
commit 0b15b77140
2 changed files with 5 additions and 2 deletions

View File

@@ -140,6 +140,10 @@ class POList(generics.ListCreateAPIView):
ordering_fields = [
'creation_date',
'reference',
'supplier__name',
'target_date',
'line_items',
'status',
]
ordering = '-creation_date'