mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Bug fix for "inverted" logic when hiding inactive parts from search results
This commit is contained in:
parent
b78407a7e8
commit
24c64d7479
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user