mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-04 17:35:21 +00:00
Bug fix for "inverted" logic when hiding inactive parts from search results
This commit is contained in:
1 parent
b78407a7e8
commit
24c64d7479
1 file changed
+2
-1
@@ -89,7 +89,8 @@ function updateSearch() {
|
||||
var params = {};
|
||||
|
||||
if (user_settings.SEARCH_HIDE_INACTIVE_PARTS) {
|
||||
params.active = false;
|
||||
// Return *only* active parts
|
||||
params.active = true;
|
||||
}
|
||||
|
||||
// Search for matching parts
|
||||
|
||||
Reference in new issue
Block a user