mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
search fixes
This commit is contained in:
@@ -104,7 +104,7 @@ function getSomeNotePath(note) {
|
||||
while (cur.noteId !== 'root') {
|
||||
path.push(cur.noteId);
|
||||
|
||||
const parents = cur.getParentNotes();
|
||||
const parents = cur.getParentNotes().filter(note => note.type !== 'search');
|
||||
|
||||
if (!parents.length) {
|
||||
logError(`Can't find parents for note ${cur.noteId}`);
|
||||
|
||||
Reference in New Issue
Block a user