mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Search part by IPN
This commit is contained in:
parent
7b3209b02d
commit
02bd9c2d05
@ -151,6 +151,7 @@ class PartList(generics.ListCreateAPIView):
|
|||||||
search_fields = [
|
search_fields = [
|
||||||
'$name',
|
'$name',
|
||||||
'description',
|
'description',
|
||||||
|
'$IPN',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,6 +48,11 @@
|
|||||||
return renderLink(value, row.url);
|
return renderLink(value, row.url);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: 'IPN',
|
||||||
|
title: 'Internal Part Number',
|
||||||
|
searchable: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
field: 'description',
|
field: 'description',
|
||||||
title: 'Description',
|
title: 'Description',
|
||||||
|
Loading…
Reference in New Issue
Block a user