mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
fix searching by label
This commit is contained in:
@@ -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('"')) {
|
||||
|
||||
Reference in New Issue
Block a user