mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 05:05:42 +00:00 
			
		
		
		
	Merge pull request #244 from SchrodingersGat/search-ipn
Search part by IPN
This commit is contained in:
		| @@ -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', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user