mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Added Manufacturer parts to search, fixed icons, added manufacturer view in supplier part detail page
This commit is contained in:
@ -193,7 +193,7 @@ class SupplierPartList(generics.ListCreateAPIView):
|
||||
queryset = SupplierPart.objects.all().prefetch_related(
|
||||
'part',
|
||||
'supplier',
|
||||
'manufacturer_part',
|
||||
'manufacturer_part__manufacturer',
|
||||
)
|
||||
|
||||
def get_queryset(self):
|
||||
@ -291,9 +291,9 @@ class SupplierPartList(generics.ListCreateAPIView):
|
||||
search_fields = [
|
||||
'SKU',
|
||||
'supplier__name',
|
||||
'manufacturer__name',
|
||||
'manufacturer_part__manufacturer__name',
|
||||
'description',
|
||||
'MPN',
|
||||
'manufacturer_part__MPN',
|
||||
'part__name',
|
||||
'part__description',
|
||||
]
|
||||
|
Reference in New Issue
Block a user