This commit is contained in:
Daniel 2023-06-27 00:03:31 +08:00
parent 68fb2f8076
commit d1ccc9bc0f
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -568,7 +568,7 @@ func buildOrderBy(method, orderBy int) string {
}
return "ORDER BY rank" // 默认是按相关度降序
default:
return "ORDER BY sort ASC"
return "ORDER BY sort ASC, updated DESC" // Improve search default sort https://github.com/siyuan-note/siyuan/issues/8624
}
}