(Bug report) Note order is not automatically updated when using custom label sorting
WPum opened this issue · comments
WPum commented
Trilium Version
0.56.2
What operating system are you using?
Windows
What is your setup?
Server access only
Operating System Version
Windows 10 version 2004 with Firefox 107.0
Description
According to the wiki Sorting, we can use a specific label as the sorting key for child notes. The problem is, when I updated the "sorting key" label of one of the child notes, the note order is not updated as the label value changed.
The following steps are the steps to reproduce this scenerio:
Create a note tree like this:
Parent note: #sorted=myLabel
|-- Child note 1: #myLabel=1
|-- Child note 2: #myLabel=2
Then update #myLabel to 3 in child note 1.
The note order should be 2-1, but in fact it is 1-2.