mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge pull request #244 from SchrodingersGat/search-ipn
Search part by IPN
This commit is contained in:
commit
c22494b7e9
@ -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