diff --git a/InvenTree/part/api.py b/InvenTree/part/api.py index 9db2bf102f..26dbc2e492 100644 --- a/InvenTree/part/api.py +++ b/InvenTree/part/api.py @@ -151,6 +151,7 @@ class PartList(generics.ListCreateAPIView): search_fields = [ '$name', 'description', + '$IPN', ] diff --git a/InvenTree/templates/InvenTree/search.html b/InvenTree/templates/InvenTree/search.html index a3e709870f..e868378ee4 100644 --- a/InvenTree/templates/InvenTree/search.html +++ b/InvenTree/templates/InvenTree/search.html @@ -48,6 +48,11 @@ return renderLink(value, row.url); } }, + { + field: 'IPN', + title: 'Internal Part Number', + searchable: true, + }, { field: 'description', title: 'Description',