Merge pull request #220 from fin444/master

fix using filters to exclude ids from search
This commit is contained in:
hppeng-wynn 2022-09-09 18:45:37 -07:00 committed by GitHub
commit 793f2c445c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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];