mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
sort parent relationships so that clones in search notes appear last, fixes #1686
This commit is contained in:
@@ -56,6 +56,8 @@ async function resolveNotePathToSegments(notePath, logErrors = true) {
|
||||
return;
|
||||
}
|
||||
|
||||
child.resortParents();
|
||||
|
||||
const parents = child.getParentNotes();
|
||||
|
||||
if (!parents.length) {
|
||||
|
||||
Reference in New Issue
Block a user