🎨 反链面板支持文档排序 https://github.com/siyuan-note/insider/issues/1086
This commit is contained in:
parent
ef5a911f57
commit
73d9411b47
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ func GetBacklink2(id, keyword, mentionKeyword string, sortMode, mentionSortMode
|
|||
}
|
||||
|
||||
sort.Slice(backmentions, func(i, j int) bool {
|
||||
switch sortMode {
|
||||
switch mentionSortMode {
|
||||
case util.SortModeUpdatedDESC:
|
||||
return backmentions[i].Updated > backmentions[j].Updated
|
||||
case util.SortModeUpdatedASC:
|
||||
|
|
Loading…
Add table
Reference in a new issue