hotfix: excluding sum filters works again
This commit is contained in:
parent
087e9a6698
commit
85d84f6746
1 changed files with 6 additions and 2 deletions
|
@ -217,10 +217,14 @@ function do_item_search() {
|
||||||
continue; // empty
|
continue; // empty
|
||||||
}
|
}
|
||||||
let filter_name = translate_mappings[raw_name];
|
let filter_name = translate_mappings[raw_name];
|
||||||
|
if (filter_name === undefined) {
|
||||||
|
filter_name = special_mappings[raw_name];
|
||||||
if (filter_name === undefined) {
|
if (filter_name === undefined) {
|
||||||
document.getElementById("summary").innerHTML = "Error: The excluded filter \"" + exclude.input_elem.value + "\" is not recognized";
|
document.getElementById("summary").innerHTML = "Error: The excluded filter \"" + exclude.input_elem.value + "\" is not recognized";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
filter_name = "(" + filter_name + ")";
|
||||||
|
}
|
||||||
queries.push("f:" + filter_name + "=0");
|
queries.push("f:" + filter_name + "=0");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue