Search part by IPN

This commit is contained in:
Oliver Walters 2019-05-06 11:23:55 +10:00
parent 7b3209b02d
commit 02bd9c2d05
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',