mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
add back comment
This commit is contained in:
@@ -48,6 +48,7 @@ class SearchResult {
|
||||
this.score += 120;
|
||||
}
|
||||
|
||||
// notes with matches on its own note title as opposed to ancestors or descendants
|
||||
const beforeTokenScore = this.score;
|
||||
// Add scores for partial matches with lower weights
|
||||
this.addScoreForStrings(tokens, note.title, 1.5);
|
||||
|
||||
Reference in New Issue
Block a user