mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Bug fix for "inverted" logic when hiding inactive parts from search results
This commit is contained in:
		| @@ -89,7 +89,8 @@ function updateSearch() { | |||||||
|         var params = {}; |         var params = {}; | ||||||
|  |  | ||||||
|         if (user_settings.SEARCH_HIDE_INACTIVE_PARTS) { |         if (user_settings.SEARCH_HIDE_INACTIVE_PARTS) { | ||||||
|             params.active = false; |             // Return *only* active parts | ||||||
|  |             params.active = true; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         // Search for matching parts |         // Search for matching parts | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user