mirror of
https://github.com/zadam/trilium.git
synced 2025-01-15 19:51:57 +08:00
fix search
This commit is contained in:
parent
0728f540ab
commit
b3d5938665
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ class FNote {
|
||||||
return [['root']];
|
return [['root']];
|
||||||
}
|
}
|
||||||
|
|
||||||
const parentNotes = this.getParentNotes();
|
const parentNotes = this.getParentNotes().filter(note => note.type !== 'search');
|
||||||
let notePaths = [];
|
let notePaths = [];
|
||||||
|
|
||||||
if (parentNotes.length === 1) { // optimization for most common case
|
if (parentNotes.length === 1) { // optimization for most common case
|
||||||
|
|
Loading…
Reference in a new issue