mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 13:28:48 +01:00
✨ Support for searching asset content https://github.com/siyuan-note/siyuan/issues/8874
This commit is contained in:
parent
a169b3913a
commit
4b96ead36a
2 changed files with 15 additions and 4 deletions
|
|
@ -365,7 +365,7 @@ func parseSearchAssetContentArgs(arg map[string]interface{}) (page, pageSize int
|
|||
method = int(methodArg.(float64))
|
||||
}
|
||||
|
||||
// orderBy:0:相关度(默认),1:按更新时间升序,2:按更新时间降序
|
||||
// orderBy:0:按相关度降序,1:按相关度升序,2:按更新时间升序,3:按更新时间降序
|
||||
orderByArg := arg["orderBy"]
|
||||
if nil != orderByArg {
|
||||
orderBy = int(orderByArg.(float64))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue