Sort by native units first
This commit is contained in:
parent
92095d7c2e
commit
4c5800bf74
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue