fix using filters to exclude ids from search

This commit is contained in:
fin444 2022-09-09 17:01:08 -04:00
parent aa4ef2c68b
commit 3ea8d901cb

View file

@ -178,7 +178,7 @@ function do_item_search() {
if (min > max) {
continue; // invalid range
}
let zero_in_min_max = (isNaN(min) || min <= 0) && (isNaN(max) || max >= 0);
let zero_in_min_max = (isNaN(min) || min < 0) && (isNaN(max) || max > 0);
let raw_name = filter.input_elem.value;
let filter_name = translate_mappings[raw_name];