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 = [
|
||||
'$name',
|
||||
'description',
|
||||
'$IPN',
|
||||
]
|
||||
|
||||
|
||||
|
@ -48,6 +48,11 @@
|
||||
return renderLink(value, row.url);
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'IPN',
|
||||
title: 'Internal Part Number',
|
||||
searchable: true,
|
||||
},
|
||||
{
|
||||
field: 'description',
|
||||
title: 'Description',
|
||||
|
Loading…
Reference in New Issue
Block a user