mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +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 = {};
|
||||
|
||||
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