mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-16 12:05:53 +00:00
Sort by native units first
This commit is contained in:
@ -400,6 +400,7 @@ class SupplierPartList(ListCreateDestroyAPIView):
|
|||||||
'supplier': 'supplier__name',
|
'supplier': 'supplier__name',
|
||||||
'manufacturer': 'manufacturer_part__manufacturer__name',
|
'manufacturer': 'manufacturer_part__manufacturer__name',
|
||||||
'MPN': 'manufacturer_part__MPN',
|
'MPN': 'manufacturer_part__MPN',
|
||||||
|
'pack_units': ['pack_units_native', 'pack_units'],
|
||||||
}
|
}
|
||||||
|
|
||||||
search_fields = [
|
search_fields = [
|
||||||
|
Reference in New Issue
Block a user