fix using filters to exclude ids from search
This commit is contained in:
parent
aa4ef2c68b
commit
3ea8d901cb
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue