Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: 反链提及排序失效 Fix https://github.com/siyuan-note/siyuan/issues/6187

Liang Dingda1cdd3f5b7e
diff --git a/kernel/api/ref.go b/kernel/api/ref.go
index 78ca99b573..42f8c440a7 100644
--- a/kernel/api/ref.go
+++ b/kernel/api/ref.go
@@ -95,7 +95,7 @@ func getBacklink2(c *gin.Context) {
if nil != sortArg {
sort, _ = strconv.Atoi(sortArg.(string))
}
- mentionSortArg := arg["msort"]
+ mentionSortArg := arg["mSort"]
mentionSort := util.SortModeUpdatedDESC
if nil != mentionSortArg {
mentionSort, _ = strconv.Atoi(mentionSortArg.(string))