2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

Merge pull request #2809 from SchrodingersGat/fix-inactive-search

Bug fix for "inverted" logic in search results
This commit is contained in:
Oliver
2022-04-06 12:46:18 +10:00
committed by GitHub

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