Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 482243b

Browse files
committed
fix(tree): note order sometimes incorrect (closes #1727)
1 parent 722abb1 commit 482243b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/Release Notes/Release Notes/v0.93.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* [Calendar stops displaying notes after adding a Day Note](https://github.com/TriliumNext/Notes/issues/1705)
1515
* Full anonymization not redacting attachment titles.
1616
* Unable to trigger "Move to" dialog via keyboard shortcut.
17+
* [Note ordering doesn't load correctly, only shows up right after moving a note](https://github.com/TriliumNext/Notes/issues/1727)
1718

1819
## ✨ Improvements
1920

src/public/app/entities/fnote.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class FNote {
151151

152152
for (const branchId of Object.values(this.childToBranch)) {
153153
const notePosition = this.froca.getBranch(branchId)?.notePosition;
154-
if (notePosition) {
154+
if (notePosition !== undefined) {
155155
branchIdPos[branchId] = notePosition;
156156
}
157157
}

0 commit comments

Comments
 (0)