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