mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
fixed search tests
This commit is contained in:
@@ -89,7 +89,9 @@ class NoteCacheFlatTextExp extends Expression {
|
||||
}
|
||||
|
||||
for (const attribute of note.ownedAttributes) {
|
||||
if (attribute.name.includes(token) || attribute.value.includes(token)) {
|
||||
if (attribute.name.toLowerCase().includes(token)
|
||||
|| attribute.value.toLowerCase().includes(token)) {
|
||||
|
||||
foundAttrTokens.push(token);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user