Bug fix for "inverted" logic when hiding inactive parts from search results

This commit is contained in:
Oliver 2022-04-06 12:21:19 +10:00
parent b78407a7e8
commit 24c64d7479

View File

@ -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