2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-30 16:41:35 +00:00

Merge pull request #244 from SchrodingersGat/search-ipn

Search part by IPN
This commit is contained in:
Oliver
2019-05-06 11:27:08 +10:00
committed by GitHub
2 changed files with 6 additions and 0 deletions

View File

@@ -151,6 +151,7 @@ class PartList(generics.ListCreateAPIView):
search_fields = [
'$name',
'description',
'$IPN',
]

View File

@@ -48,6 +48,11 @@
return renderLink(value, row.url);
}
},
{
field: 'IPN',
title: 'Internal Part Number',
searchable: true,
},
{
field: 'description',
title: 'Description',