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