sort parent relationships so that clones in search notes appear last, fixes #1686

This commit is contained in:
zadam
2021-02-24 22:38:26 +01:00
parent 5a173ff14e
commit 25c2db6c3a
3 changed files with 29 additions and 3 deletions

View File

@@ -56,6 +56,8 @@ async function resolveNotePathToSegments(notePath, logErrors = true) {
return;
}
child.resortParents();
const parents = child.getParentNotes();
if (!parents.length) {