fix searching by label

This commit is contained in:
zadam
2021-07-04 21:05:47 +02:00
parent 8d3a3d4873
commit e25b965cb3
3 changed files with 8 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ function formatAttrForSearch(attr, searchWithValue) {
}
function formatValue(val) {
if (!/[^\w_-]/.test(val)) {
if (!/[^\w_]/.test(val)) {
return val;
}
else if (!val.includes('"')) {