mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	Add searching to other admin views
This commit is contained in:
		@@ -48,6 +48,8 @@ class LocationAdmin(ImportExportModelAdmin):
 | 
			
		||||
 | 
			
		||||
    list_display = ('name', 'pathstring', 'description')
 | 
			
		||||
 | 
			
		||||
    search_fields = ('name', 'description')
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class StockItemResource(ModelResource):
 | 
			
		||||
    """ Class for managing StockItem data import/export """
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user