Adjust ordering sequence for StockItem

This commit is contained in:
Oliver 2021-11-10 11:00:43 +11:00
parent 738ba4eddf
commit 25ce043337

View File

@ -876,7 +876,7 @@ class StockList(generics.ListCreateAPIView):
ordering_field_aliases = {
'SKU': 'supplier_part__SKU',
'stock': ['quantity', 'serial'],
'stock': ['quantity', 'serial_int', 'serial'],
}
ordering_fields = [