From 25ce043337a26e2d417febdd5d446ed62b31076b Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 10 Nov 2021 11:00:43 +1100 Subject: [PATCH] Adjust ordering sequence for StockItem --- InvenTree/stock/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/stock/api.py b/InvenTree/stock/api.py index e01ad51b55..2ffc2e8d69 100644 --- a/InvenTree/stock/api.py +++ b/InvenTree/stock/api.py @@ -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 = [